Navigates the browser to a location that cannot be expressed as a URL, such as a pointer to an object identifier list (PIDL) for an entity in the Microsoft Windows Shell namespace.
Parameter
| Description
|
UrlOrFile
| Mandatory. A variable or expression that evaluates to the URL of the resource to display, the full path to the location of the files, or a PIDL that represents a directory in the Shell namespace.
|
Flags
| Optional. One or more summed values from BrowserNavConstants.
|
TargetFrameName
| Optional. Case-sensitive string expression that links to the frame name in the source. Possible values are:
_blank Place the link in a new unnamed window.
_parent Place the link in the parent page of the document in which the link is located
_self Place the link in the same window the link was clicked in
_top Place the link to the full body of the current window.
WindowName A named HTML frame. If no frame or window matching the specified name exists, a new window is opened for the specified link.
|
PostData
| Optional. Data sent to the server as part of an HTTP POST transaction. A POST transaction is usually used to send data collected by an HTML form. If this parameter does not specify any POST data, this method issues an HTTP GET transaction. If this parameter does not specify any POST data, this method issues an HTTP GET transaction. This parameter is ignored if UrlOrFile is not an HTTP URL.
|
Headers
| Optional. A string that contains additional HTTP headers to send to the server. These headers are added to the standard Windows Internet Explorer headers. For example, Headers can contain the server's required actions, the type of data, or a status code. This parameter is ignored if UrlOrFile is not an HTTP URL.
|
Parameter
| Value
| Description
|
NavOpenInNewWindow
| 0x1
| Open the resource or file in a new window.
|
NavNoHistory
| 0x2
| Do not add the resource or file to the history list. The new page replaces the current page in the list.
|
NavNoReadFromCache
| 0x4
| Do not consult the Internet cache; retrieve the resource from the origin server.
|
NavNoWriteToCache
| 0x8
| Do not add the downloaded resource to the Internet cache.
|
NavAllowAutosearch
| 0x10
| If the navigation fails, the autosearch functionality attempts to navigate common root domains (.com, .edu, and so on). If this also fails, the URL is passed to a search engine.
|
NavBrowserBar
| 0x20
| Causes the current Explorer Bar to navigate to the given item, if possible.
|
NavHyperlink
| 0x40
| Microsoft Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2) and later. If the navigation fails when a hyperlink is being followed, this constant specifies that the resource should then be bound to a special moniker flag.
|
NavEnforceRestricted
| 0x80
| Internet Explorer 6 for Windows XP SP2 and later. Force the URL into the restricted zone.
|
NavNewWindowsManaged
| 0x0100
| Internet Explorer 6 for Windows XP SP2 and later. Use the default Popup Manager to block pop-up windows.
|
NavUntrustedForDownload
| 0x0200
| Internet Explorer 6 for Windows XP SP2 and later. Block files that normally trigger a file download dialog box.
|
NavTrustedForActiveX
| 0x0400
| Internet Explorer 6 for Windows XP SP2 and later. Prompt for the installation of Microsoft ActiveX controls.
|
NavOpenInNewTab
| 0x0800
| Windows Internet Explorer 7. Open the resource or file in a new tab. Allow the destination window to come to the foreground, if necessary.
|
NavOpenInBackgroundTab
| 0x1000
| Internet Explorer 7. Open the resource or file in a new background tab; the currently active window and/or tab remains open on top.
|
NavKeepWordWheelText
| 0x2000
| Internet Explorer 7. Maintain state for dynamic navigation based on the filter string entered in the search band text box (wordwheel). Restore the wordwheel text when the navigation completes.
|
NavVirtualTab
| 0x4000
| Note This documentation is preliminary and is subject to change.
Internet Explorer 8. Open the resource as a replacement for the current or target tab. The existing tab is closed while the new tab takes its place in the tab bar and replaces it in the tab group, if any. Browser history is copied forward to the new tab. On Windows Vista, this flag is implied if the navigation would cross integrity levels and navOpenInNewTab, navOpenInBackgroundTab, or navOpenInNewWindow is not specified.
|