Hi All,
I have a VB application that connects to the IBM I-Series client and
sends some keystrokes.
I am connecting using PCOMM with the following code:
This works fine....however, I need to put some error checking in place
to ensure that the Emulator window is not in an error state, and is
ready to accept data.
Is there a way to check to see if there is an error on the screen??
mot98
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
"Is it friday yet?"
I have a VB application that connects to the IBM I-Series client and
sends some keystrokes.
I am connecting using PCOMM with the following code:
Code:
Dim autECLSession As AutConnList
Dim autECLPS As AutPS
varSerial = frmMain.txtSerial1
Set autECLConnList = CreateObject("pcomm.autECLConnlist")
Set autECLPS = CreateObject("pcomm.autECLPS")
autECLConnList.Refresh
'Connecting to Session A
autECLPS.SetConnectionByName ("A")
autECLPS.SendKeys "[FLDEXT]"
autECLPS.SendKeys "1" & "[ENTER]"
autECLPS.SendKeys "1" & "[ENTER]"
autECLPS.SendKeys "STK" & "[ENTER]"
autECLPS.SendKeys varSerial & "[ENTER]"
This works fine....however, I need to put some error checking in place
to ensure that the Emulator window is not in an error state, and is
ready to accept data.
Is there a way to check to see if there is an error on the screen??
mot98
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
"Is it friday yet?"