Results 1 to 2 of 2

Thread: [2.0] How to stop code until webbrowser control finishes downloading the document?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Question [2.0] How to stop code until webbrowser control finishes downloading the document?

    Hello!

    I use a webbrowser control in my application.
    I then tell it to navigate to a url.
    I want to continue in the same procedure when the webbeowser finishes the download of the page.

    Can this be done?

    Thanks!

    Dekel C.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2.0] How to stop code until webbrowser control finishes downloading the document?

    Simply put the code to execute when the document has finished loading in the DocumentCompleted event handler.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width