Hello,
I'm experimenting with a web browser on my form and I had thought that the following code:
Do While Me.Browser.Busy
DoEvents
Loop
Would basically make the code wait until the browser had finished loading to continue. Unfortunately it isn't true.
Right now I'm running with a manual throttle with:
Throttle = txtThrottle
Wait = Timer
While Timer < Wait + Throttle
DoEvents
Wend
So a user can specify on the form that they want to wait 1, 2, 3, etc seconds for the pages to load. Of course this is pretty inneffective as a safe number is usually too long and a low number is inconsistent.
Anyone know of a possible solution?
I'm experimenting with a web browser on my form and I had thought that the following code:
Do While Me.Browser.Busy
DoEvents
Loop
Would basically make the code wait until the browser had finished loading to continue. Unfortunately it isn't true.
Right now I'm running with a manual throttle with:
Throttle = txtThrottle
Wait = Timer
While Timer < Wait + Throttle
DoEvents
Wend
So a user can specify on the form that they want to wait 1, 2, 3, etc seconds for the pages to load. Of course this is pretty inneffective as a safe number is usually too long and a low number is inconsistent.
Anyone know of a possible solution?