Click to return to the Reusing Browser Technology home page    
DownloadComplete Event     NewWindow2 Event     WebBrowser Control Events    
Web Workshop  |  Reusing Browser Technology

NavigateComplete2 Event


Occurs after the browser has successfully navigated to a new location. The document might still be downloading (and in the case of HTML, images may still be downloading), but at least part of the document has been received from the server, and the viewer for the document has been created.

Syntax

Private Sub object_NavigateComplete2(ByVal pDisp As Object, URL As Variant)

Parameters

object
An object expression that evaluates to an object in the Applies To list.
pDisp
An object that evaluates to the top-level or frame WebBrowser object corresponding to the event.
URL
A string expression that evaluates to the URL, UNC file name, or PIDL that was navigated to. Note that this URL can be different from the URL that the browser was told to navigate to. One reason is that this URL is the canonicalized and qualified URL; for example, if an application specified a URL of "www.microsoft.com" in a call to the Navigate or Navigate2 method, the URL passed by NavigateComplete2 will be "http://www.microsoft.com/". Also, if the server has redirected the browser to a different URL, the redirected URL will be reflected here.

Applies To

InternetExplorer, WebBrowser

See Also

BeforeNavigate2


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.