Hi all...
I write a simple program to simulate keystrokes to another application. Basically I use AppActivate and SendKeys, so it is something like this:
'make the app active
AppActivate(strWindowTitle)
SendKeys(strKeys)
It works fine for standard windows applications (Notepad, Excel, Word.. you name it). But when it comes to a program that is being run from Citrix Program Neighborhood, SendKeys fail to send the keystrokes (AppActivate still succeed in bringing the window on top).
I have tried using keybd_event and even SendInput. But it still does not work.
Anyone knows what might be the problem? I'm running out of ideas ...
Thanks.
I write a simple program to simulate keystrokes to another application. Basically I use AppActivate and SendKeys, so it is something like this:
'make the app active
AppActivate(strWindowTitle)
SendKeys(strKeys)
It works fine for standard windows applications (Notepad, Excel, Word.. you name it). But when it comes to a program that is being run from Citrix Program Neighborhood, SendKeys fail to send the keystrokes (AppActivate still succeed in bringing the window on top).
I have tried using keybd_event and even SendInput. But it still does not work.
Anyone knows what might be the problem? I'm running out of ideas ...
Thanks.