I created a VB "screen scrape" application that programmatically navigates a website in effort to extract data from a page that is a few links deep. The problem is the code obviously runs 10 times faster then that browser so the app ends up running page 4 code on page 2 because the browser cant keep up. I tried using function with this code in it:
while webbrowser1.busy
do events
wend
I also threw a boolean in the document_complete and before_navigate subs to identify when the doc is loading and when it is finished but all to no avail. If I step through the program it works fine, but at normal speed it runs in total disarray. Any ideas??!?
while webbrowser1.busy
do events
wend
I also threw a boolean in the document_complete and before_navigate subs to identify when the doc is loading and when it is finished but all to no avail. If I step through the program it works fine, but at normal speed it runs in total disarray. Any ideas??!?