RemoteHost Property (ActiveX Controls)

       

Returns or sets the remote machine to which a control sends or receives data. You can either provide a host name, for example, "FTP://ftp.microsoft.com," or an IP address string in dotted format, such as "100.0.1.1".

Syntax

object.RemoteHost = string

The RemoteHost property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string The name or address of the remote computer.

Remarks

When this property is specified, the URL property is updated to show the new value. Also, if the host portion of the URL is updated, this property is also updated to reflect the new value.

The RemoteHost property can also be changed when invoking the OpenURL or Execute methods.

At run time, changing this value has no effect until the next connection.