Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Calling an ASP page from VB

Calling an ASP page from VB

Scheduled Pinned Locked Moved Visual Basic
sysadminhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Simes
    wrote on last edited by
    #1

    I have a problem in that I am trying to call an asp page from a VB application. I have set-up a Web Browser control and use the Navigate method to run specific web pages. On the Web Browser control I have a toolbar with a Logout button. When this Logout button is clicked on, it calls an ASP page called logout.asp using the Navigate method, which is resident on the web server. This in turn will then put an entry in a log file of the user name about to be logged off, taken from the Session variable. The call to the asp page then returns to the VB application and runs the method Form Unload, to close down the Web browser and thus log off the user. The problem I have is that if I call the Form Unload as the next command after the call to the ASP page the logout.asp page does not seem to run. If I remove the call to Form Unload the call to the logout.asp page works correctly and I get an entry in the log file resident on the Web server. Can anyone shed some light on why this is happening. Simes

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups