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