execute keyboard command from VB
execute keyboard command from VB
(OP)
I would like to execute a keyboard command such as a 'tab' or a 'return' or be able to enter a character into a textbox on the screen. This would be for Windows XP or like OS.
Thanks
Jordan
Thanks
Jordan
RE: execute keyboard command from VB
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: execute keyboard command from VB
Sendkeys ("{TAB}"),true
To execute return,
Sendkeys ("~"),true
RE: execute keyboard command from VB
In order to use SendKeys, do you not need a file called KEYPUSH.DLL?
Bradley
RE: execute keyboard command from VB
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: execute keyboard command from VB
In conjunction with the AppActivate command, you can also use SendKeys to send keystrokes to other applications as well.