Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Webbrowser.busy

Status
Not open for further replies.

mbro

Programmer
Nov 12, 2004
25
0
0
US
Hi,

I have a recurring problem with

WebBrowser1.Navigate "website"
Do
DoEvents
Loop Until WebBrowser1.Busy = False

in that sometimes it waits for the website to load completely and sometimes the Do loop completes before the page has loaded. I've posted multiple times about the problem with no success. Does anyone have an alternative method to the Do Loop to have the program 'wait' until the website has completely loaded?

Any help would be greatly appreciated.

Cheers,
Mike
 
you could try watching the following events raised by the WebBrowser

DocumentComplete
DownloadComplete
NavigateComplete2
ProgressChange

let me know if any/none works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top