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
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