Results 1 to 5 of 5

Thread: how do i say something like..

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    5

    how do i say something like..

    In need to be able to say something like
    Wait untill webbrowser1 has finished loading then execute the next bit of code...
    i can't use the webbrowser_documentcomplete or anything like that because this code is only need at selected times..

    thankz

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    Maybe:
    Place a Boolean 'Flag' in the WebBrowserDocumentComplete (whatever it is)
    event...

    The u can check the flag in the other routine.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    5
    yep, thats pretty much the same as webbrowser.busy = False right?
    sample:
    if webbrowser1.busy = True Then
    Wait?!??!?! Untill webbrowser1.busy = False

    just can't figure out the last part..

  4. #4
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    do until web1.busy = false
    doevetns
    loop
    Remember, if someone's post was not helpful, you can always rate their post negatively .

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    5
    perfect, works

    thanks

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