Results 1 to 3 of 3

Thread: WebBrowser Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    6
    Hi,

    Does anybody know what is the event for webbrowser object which indicates that the entire page has been downloaded completely?

    I've tried using document_complete, download_complete, and navigate_complete2, but all these events fire more than once during the download of the web page.

    Thanks.

  2. #2
    Guest
    WebBrowser1_DownloadComplete() - after the download finish.

    WebBrowser1_DocumentComplete - after page completely loads.

    WebBrowser1_NavigateComplete2 - after web page has finished downloading everything, pictures, documents, etc.

  3. #3
    Hyperactive Member
    Join Date
    May 2002
    Posts
    434
    Try:
    Code:
    Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
        If (pDisp Is WebBrowser1.Object) Then
            Debug.Print "Document is finished loading."
        End If
    End Sub

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