Export (0) Print
Expand All
A
Expand Minimize

Visual Basic: Internet Control

Visual Studio 6.0

AccessType Property

See Also   Example   Applies To

Sets or returns a value that determines the type of access (through a proxy or directly) that the control will use to communicate with the Internet. This value can be changed while an asynchronous request is being processed, but will not take effect until the next connection is established.

Syntax

object.AccessType = type

The AccessType property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
type Integer (enumerated). A numeric expression that determines the type of access used, as described in Settings.

Settings

Valid settings for type are:

Constant Value Description
icUseDefault 0 Default. Use Defaults. The control uses default settings found in the registry to access the Internet.
icDirect 1 Direct to Internet. The control has a direct connection to the Internet.
icNamedProxy 2 Named Proxy. Instructs the control to use the proxy server specified in the Proxy property.

Show:
© 2014 Microsoft