Admin Production rocket
Current Publication

DisplayFile Method

InfoConnect Desktop InfoConnect VBA Guide V17.0
Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
The file to display.
DisplayFile Method
In This Topic
Displays the specified local file on the terminal screen.
Syntax

                     
                     
expression.DisplayFile( _
   ByVal fileName As String _
) As ReturnCode

                  
where expression is a variable that represents a Screen Object

Parameters

fileName
The file to display.

Return Value

One of the following ReturnCode enumeration values.

Member Description
Cancelled Cancelled.
Error Error.
PermissionRequired Permission is required.
Success Success.
Timeout Timeout condition.
Truncated The text is truncated.

See Also