Microsoft SDK for Java

Navigate2

This method of the IWebBrowser2 interface navigates the browser to a location that may not be able to 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

public void Navigate2(com.ms.com.Variant URL,
com.ms.com.Variant Flags, com.ms.com.Variant TargetFrameName,
com.ms.com.Variant PostData, com.ms.com.Variant Headers);

Parameters

URL The caller-allocated string that specifies the URL to navigate to or the full path of the file to display.
Flags The address of a variable that specifies whether to add the resource to the history list, whether to read to or write from the cache, and whether to display the resource in a new window.
TargetFrameName The address of a string that contains the name of the frame in which to display the resource.
PostData The address of data to send with the HTTP POST transaction. For example, the POST transaction is used to send data gathered by an HTML form. If this parameter does not specify any post data, Navigate issues an HTTP GET transaction. This parameter is ignored if the URL is not an HTTP URL.
Headers The address of a value that contains the HTTP headers to send to the server. These headers are added to the default Microsoft® Internet Explorer headers. The headers can specify things such as the action required of the server, the type of data being passed to the server, or a status code. This parameter is ignored if the URL is not an HTTP URL.

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