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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top