Navigate

Description

Browses the specified Web page.

Applies to

WebBrowser controls

Syntax

controlname.Navigate ( string url )

Argument

Description

controlname

The name of the WebBrowser control.

url

The address of the page to browse.


Return value

Integer.

  • 1 -- Success.

  • -1 -- General error.

  • -2 -- Failed to get the browser instance.

  • -5 -- Invalid URL.

Examples

This example navigates to the Appeon web site:

Integer li_rtn
li_rtn = wb_1.Navigate("http://www.appeon.com")

See also

CancelDownload

PauseDownload

ResumeDownload

GetSource

GoBack

GoForward

PrintAsPDF

Refresh

StopNavigation

Zoom