WebBrowserGet

Description

Gets the settings of the WebBrowser control.

Syntax

WebBrowserGet (string n, ref string v)

Argument

Description

n

The name of the setting. See WebBrowserSet for the list of available settings.

v

The value of the setting that is obtained.


Return value

Integer.

Returns the following error code:

  • 1 -- Success

  • -8 -- The setting name does not exist.

Examples

The following example gets the values that are set for the proxy for the WebBrowser control:

WebBrowserGet ("ProxyAddress", strValue)
WebBrowserGet ("ProxyPort", strValue)
WebBrowserGet ("ProxyUser", strValue)
WebBrowserGet ("ProxyPassword", strValue)

See also

WebBrowserSet