Arasi
06-30-2009, 12:20 AM
Hi,
I am trying to access mainframe form an Excel using ObjectX Mainframe Display Control. I am able to send data to the mainframe screen using sendkeys. But when I try to send the enter control its again taking it as an text and writing on the screen.
The code is am using is,
ObjectXMFDisplay1.SendKeys "TSOI"
ObjectXMFDisplay1.SetFocus
ObjectXMFDisplay1.SendKeys ("{Enter}")
The same code worked well in Access VBA.
How should I give the command Enter??
Please help.
Thanks.
I am trying to access mainframe form an Excel using ObjectX Mainframe Display Control. I am able to send data to the mainframe screen using sendkeys. But when I try to send the enter control its again taking it as an text and writing on the screen.
The code is am using is,
ObjectXMFDisplay1.SendKeys "TSOI"
ObjectXMFDisplay1.SetFocus
ObjectXMFDisplay1.SendKeys ("{Enter}")
The same code worked well in Access VBA.
How should I give the command Enter??
Please help.
Thanks.