Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Break key

Status
Not open for further replies.

thainguy99

Programmer
Jun 20, 2003
4
0
0
AU
Hello all,

I am hoping someone could pls help me. I've just started to develop a VB app to use Attachmate Extra object to access Main Frame. Things seem to be OK, however, I couldn't find a way to send the key Break/Pause to the main frame
to return to the main menu of the mainframe when needed.

I could send Enter key as &quot;<Enter>&quot; and clear key as &quot;<Clear>&quot;. However, I've tried various options of Break such as &quot;<Break>&quot;, &quot;{Break}&quot;,&quot;Break<Enter>&quot; etc.. to no successful result.

I really need urgently, please help anyone?

Thanks & regards,
Tim



 
Try &quot;Clear&quot;

Sess0.Screen.SendKeys &quot;<Clear>&quot;

Works on my 6.7 system.

calculus
 
Keystrokes will depend on what system you are emulating.

Best way to find out is to use the Extra! macro recorder.

Once you have found the correct keystrokes you need to build a routine that sends the keystrokes and then waits until the screen shows what you need before continuing.

All the best
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top