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. Obtaining Focus in VB application

Obtaining Focus in VB application

Scheduled Pinned Locked Moved Visual Basic
windows-adminlinuxhelp
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

    Hi, I hope someone out there may be able to help. I have a WebBrowser control written in VB 6.0 that acts a Internet viewer but with most of the normal Internet functionality removed so people can not play around with the system. This is opened by clicking on an icon that appears on a Windows shell. This has been written again to stop people moving around the Windows NT 4.0 system. when the user clicks on the viewer it opens up and displays the home page, which then asks for a login (through IIS). Once logged in an ASP page starts up and tries to get the focus, but unfortunately it is still with the underlying viewer. Is there any way to set the focus to the ASP page. The two applications are separate. Also in VB 6.0 is there a way to get the username that is entered when IIS displays the login box. In ASP you can use ServerVariables("LOGIN_NAME"), but I don't seem to get anything back when I set this up in my code.

    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