<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UIAdv (Advanced User Interface module) > WebBrowser Control > WebBrowser_Navigate2 |
Description
Navigates the browser to a location that might not be expressed as a URL, such as a pointer to an item identifier list (PIDL) for an entity in the Microsoft Windows Shell namespace.
Syntax
n = WebBrowser_Navigate2 (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 that evaluates to the URL of the resource to display, the full path to the file location, or a PIDL that represents a folder in the Shell namespace.
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