InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmPrinter Object / AutoConnect Property
In This Topic
    AutoConnect Property (IbmPrinter)
    In This Topic
    Gets or sets a value indicating whether to attempt to establish a host connection as soon as the current settings file is loaded.
    Syntax
    expression.AutoConnect As Boolean
    where expression is a variable that represents a IbmPrinter Object

    Property Value

    The default value is True.
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
    Remarks
    You must save the current settings file after changing the value of this property. This property causes an error when InfoConnect is connected to a host. Use the IsConnected property to determine if a connection already exists.
    See Also