/
VBS_GetWithAttribs (Method)
Translate page

VBS_GetWithAttribs (Method)

 


 

IScreen::VBS_GetWithAttribs

Get the text and attributes of the current QWS3270 screen.

 

 

Function VBS_GetWithAttribs(buffer As Variant) As Long
 


Parameters

NoNameTypeOptionalDefaultDescription
1buffer

Variant

No-

Buffer to hold string contents

Return Code

Description

JGS_OK

The function was successful

JGS_NOTCONNECTED

Your application is not currently connected to any valid session

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_SYSERROR

The function failed due to a system error

JGS_FTXSEGMENTED

The session screen was successfully copied, the session is waiting for a host response

JGS_INHIBITED

The session screen was successfully copied, the keyboard is locked

Sample Code

 

Dim myScreen as Variant
Dim result as Long
result = screen.VBS_GetWithAttribs(myScreen)

 


QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.

Â