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!

WebBrowser1.Busy Not Working

Status
Not open for further replies.

mbro

Programmer
Nov 12, 2004
25
0
0
US
Hi,

I have some code that runs in a loop to cycle about 100 webpages through the webbrowser control. The code shows the website, waits for it to finish loading, does a few operations and then moves to the next website.

It normally works fine but a couple days ago the program hasn't been waiting long enough for the website to load. It works on the first 30 and then something happens in the middle and then they only partially load after that. Can anyone explain this to me and what I have to do to correct it.

The loading and waiting code I use is shown below.

WebBrowser1.Navigate " address>"
Do
DoEvents
Loop Until WebBrowser1.Busy = False

Thanks!
Mike
 
The cable connection across the Pacific Ocean had been severly disrupted during the whole week of year-end 2006 because of an earthquake and yet to fully recover till now. Maybe that's the reason.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top