Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / ScreenHistory Object / OpenScreenHistoryFile Method
The name of the file to load screen history from.
If true, clears current contents first before loading from the file. If false, file contents are appended to the screen list.
In This Topic
    OpenScreenHistoryFile Method
    In This Topic
    Loads a screen history file into the session document.
    Syntax
    expression.OpenScreenHistoryFile( _
       ByVal path As String, _
       ByVal overwrite As Boolean _
    ) As ReturnCode
    where expression is a variable that represents a ScreenHistory Object

    Parameters

    path
    The name of the file to load screen history from.
    overwrite
    If true, clears current contents first before loading from the file. If false, file contents are appended to the screen list.

    Return Value

    One of the following ReturnCode values:
    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.
    See Also