Navigation:  thinBasic Modules > UIAdv (Advanced User Interface module) > WebBrowser Control >

WebBrowser_Navigate

Previous pageReturn to chapter overviewNext page

 

Description

 

Navigates to a resource identified by a URL or to a file identified by a full path.

 

Syntax

 

n = WebBrowser_Navigate (hWnd, ctrlID, sURL)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

sURL

String

No

A string expression that evaluates to the URL, full path, or Universal Naming Convention (UNC) location and name of the resource to display.

 

If sURL is an empty string, "about:blank" will be used instead

 

Remarks

 

WebBrowser is an asynchronous control. After calling WebBrowser_Navigate2 function, execution will immediately return to the program even if WebBrowser is still loading the page.

 

Restrictions

 

See also

 

Examples