webbrowser.navigate

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I am using the webbrowser.navigate control in my VB.net application. What I
want to do is to wait processing anything until the document is finished
displaying. I have tried things like looping through
untilwebbrowser.readystate = completed, but i am not able to get the result I
want. Any idea?

Thanks
Shahriar
 
Why don't you use the WebBrowser's events to execute the code you're after
once the page is loaded?

Try putting your code in the DocumentComplete event handler and see if that
is what you're looking for?
 
Back
Top