Results 1 to 3 of 3

Thread: Waiting for process

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    austin,tx,us
    Posts
    3

    Post

    I am interested in waiting for ALL OPERATIONS to be finished before going to the next line of code. I want it to completely finish loading a web page and have all the data complete before going any further in my code. how can i do this?

    Thanks,
    Brian Littleton

  2. #2
    Junior Member
    Join Date
    Feb 2000
    Location
    England
    Posts
    26

    Post

    If you are shelling an application then you could always use the shallandwait mod. This will shell the browser and will wait until you close it before it continues.
    Not sure whether this will be of any use ???

    If you require this code let me know and I'll post.

    Hutchie

  3. #3
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Post For the Webbrowser Control....

    Hi Brian.

    If you are using the Webbrowser Control, use this code:
    Code:
    Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
        If pDisp Is WebBrowser1.Object Then
            MsgBox "Web Page has finished loading."
            'Put your code here.
        End If
    End Sub
    All the best.

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