Results 1 to 2 of 2

Thread: Microsoft Internet Controls

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Launceston, Tasmania, Australia
    Posts
    44

    Post

    is there a way to determine when a webpage has finished loading, when you are using the webbrowser tool in the Microsoft Internet Controls?

    ------------------
    Mooose

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

    Post

    Hi Moose.

    Use this code:
    Code:
    Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
        If pDisp Is WebBrowser1.Object Then
            'Your code goes here.
            'If you leave out this If Statement,
            'the webbrowser control gets confused
            'about when the document is complete
            'for a web page with Frames.
        End If
    End Sub
    All the best.

    ------------------
    OneSource
    The truth may be out there, but it's in here too!
    .

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