Results 1 to 6 of 6

Thread: Waiting on WebBrowser

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166

    Waiting on WebBrowser

    I've seen a number of solutions to wait on a webbrowser to finish loading.
    Most work poorly.


    This works both in an Online and OffLine Mode.


    Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
    DoEvents
    Loop

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Waiting on WebBrowser

    READYSTATE_COMPLETE, what is its value?

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166

    Re: Waiting on WebBrowser

    |2eM!x

    Its an Enum linked with the WebBrowser control so no value needed.

  4. #4
    New Member
    Join Date
    Jun 2005
    Posts
    7

    Re: Waiting on WebBrowser

    Do you find that this works better than using the WebBrowser1.DocumentComplete event?

  5. #5
    Lively Member
    Join Date
    Mar 2005
    Posts
    86

    Re: Waiting on WebBrowser

    Yes I do.

  6. #6
    New Member
    Join Date
    Jun 2005
    Posts
    7

    Re: Waiting on WebBrowser

    What procedure would you suggest using it in?

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