Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / HostsFile Property
In This Topic
    HostsFile Property
    In This Topic
    Gets or sets the file path for the file that is used to populate the Host name/IP Address Drop-down list on the Create New VT Document dialog box.
    Syntax
    expression.HostsFile As String
    where expression is a variable that represents a Terminal Object

    Property Value

    The default value is "". (When the default is set, the path to the local Windows Hosts file is used.)
    Remarks
    The value of this property depends on your network software. Changing the value of this property in one instance of Reflection affects any instance of Reflection (version 6.0 or later) that you run.

    The file specified by the HostsFile property is expected to follow the following format:

    <IPv4 or IPv6 address> <host name>

    For Example:

    127.0.0.1 localhost

    :: localhost

    The IP address information is not relevant unless the specified host file also happens to be the Windows system hosts file. The host name information is used to populate the Host name/IP Address Drop-down list on the Create New VT Document dialog box.

    See Also