Been sitting infront of my computer all night now.
This is what i have.
Code:
Private WebBrowser As InternetExplorer
Set WebBrowser = New InternetExplorer
I don't want a new instance of InternetExplorer but an existing open session. I want to take advantage of all built in functions and methods of InternetExplorer. Anyone have any ideas?
Too hard to do things like this with API. This is only one ex.
Code:
WebBrowser.Navigate (Site)
'READYSTATE_UNINITIALIZED The default initialization state.
'READYSTATE_LOADING The object is currently loading its properties.
'READYSTATE_LOADED The object has been initialized.
'READYSTATE_INTERACTIVE The object is interactive, but not all of its data is available.
'READYSTATE_COMPLETE The object has received all of its data.
Do Until WebBrowser.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
Thanks for your word.
Do I hear someone calling my name?
Try dimming it.
Dim WebBrowser As InternetExplorer
Of course, you must set the Webbrowser Control as a reference. (Click Project > References... and make sure Microsoft Internet Controls is checked.) And put the code above in the code above in the Form Declarations, than you can use it in any control. Hope you get what I mean.
Does it have to be Gurus?
Do you mean, control an IE window that the user has opened manually, or one that you have opened from something like:
Code:
Dim ie as InternetExplorer
ie.Navigate "http://www.vb-world.net"
ie.Visible = True
'ie....
?
That is what I mean! Is it do able? Thanks
control an IE window that the user has opened manually
Thanks for your reply and I will be waiting.