PDA

Click to See Complete Forum and Search --> : InternetExplorer object & events & me


shaunmccallig
Feb 1st, 2001, 08:23 AM
I´ve been following a rather nice tutorial about how to instanciate the the internetexplorer object in VB.

I´ve instanciated the object and got a brand new IE window with the press of a form button. (Nice!)

I´ve also created a webbrowser object on the form, with a text field created for entering the URLs.

Both can navigate OK.

I want to monitor the progress of both thru events, so as a taster, I´ve implemented the two following functions which should update a form text field, when a new page title is found in the browser.

It works for the WebBrowser object embedded on the form, but not for the InternetExplorer object.

Anyone know why?

__________________________________________
Private Sub WebBrowser1_TitleChange(ByVal Text As String)

WhereAmI.Text = Text

End Sub

Private Sub IE_TitleChange(ByVal Text As String)

WhereAmI.Text = Text

End Sub
__________________________________________


Any suggestions, rude or otherwise, gratefully accepted!