Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Visual Basic: Internet Control

Visual Studio 6.0

UserName Property

See Also   Example   Applies To

Returns or sets the name that will be sent with requests to remote computers. If this property is left blank, the control will send "anonymous" as the user name when requests are made.


object.UserName[= name]

The UserName property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
name String that specifies the UserName to be used in the Execute method.

Data Type



Invoking the OpenURL or Execute method changes the value of this property.

Changing this property will have no effect until the next OpenURL or Execute method is called.

© 2015 Microsoft