PDA

Click to See Complete Forum and Search --> : TopMost InternetExplorer Object


edierley
Dec 17th, 2001, 04:43 PM
I have a form that create an Internet Explorer Object
Dim objIE as Object
Set gobjIE = CreateObject("InternetExplorer.Application")

Does anybody knows a function to be in the button_Click() event to bring the
created internetexplorer object to the top most window on the screen???

I have an AlwaysOnTop form with to button, one to show the Main form of my application
and the other to show the internet explorer, but when I click on the button with
the code:
Dim strURL As String
strURL = "http://somesite"
If (objIE Is Nothing) Then
Set objIE = CreateObject("InternetExplorer.Application")
End If
Call objIE.Navigate2(strURL)
objIE.Visible = True

The Internet Explorer only blinks the icon on the task bar and don't go up to the screen.

Thank you for your attention.