HOWTO: Use the PostData Parameter in WebBrowser ControlLast reviewed: January 16, 1998Article ID: Q174923 |
The information in this article applies to:
SUMMARYThe WebBrowser control has a Navigate method with PostData as a parameter. This allows the user to post data to the specified URL with the WebBrowser control.
MORE INFORMATIONNavigate specifications:
Navigates to the resource identified by a Universal Resource Locator (URL), or to the file identified by a full path.Syntax:
object.Navigate URL [Flags,] [TargetFrameName,] [PostData,] [Headers]PostData Optional: Data to send to the server during 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, the Navigate method issues an HTTP GET transaction. This parameter is ignored if URL is not an HTTP URL. NOTE: The post data specified by PostData is passed as a SAFEARRAY structure. The variant should be of type VT_ARRAY and point to a SAFEARRAY. The SAFEARRAY should be of element type VT_UI1, dimension one, and have an element count equal to the number of bytes of post data. Sample to PostData to URL server
|
Additional query words: POST Navigate
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |