Jan 18, 2004 #1 jramrus Computer Joined Jan 18, 2004 Messages 1 Location US 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
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
Jan 19, 2004 1 #2 joerd Chemical Joined Sep 27, 2002 Messages 531 Location US This is done by the SendKeys method. Cheers, Joerd Please see FAQ731-376 for tips on how to make the best use of Eng-Tips. Upvote 0 Downvote
This is done by the SendKeys method. Cheers, Joerd Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
Jan 22, 2004 #3 efighettib Structural Joined Jan 13, 2004 Messages 26 Location CL To execute tab you write Sendkeys ("{TAB}",true To execute return, Sendkeys ("~",true Upvote 0 Downvote
To execute tab you write Sendkeys ("{TAB}",true To execute return, Sendkeys ("~",true
Jan 23, 2004 #4 Standing Mechanical Joined Jan 14, 2002 Messages 1,578 Joerd, In order to use SendKeys, do you not need a file called KEYPUSH.DLL? Bradley Upvote 0 Downvote
Jan 26, 2004 #5 joerd Chemical Joined Sep 27, 2002 Messages 531 Location US Dunno, but it's not on my system (W2k) Cheers, Joerd Please see FAQ731-376 for tips on how to make the best use of Eng-Tips. Upvote 0 Downvote
Dunno, but it's not on my system (W2k) Cheers, Joerd Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
Jan 26, 2004 #6 CajunCenturion Computer Joined Oct 24, 2003 Messages 1,571 Location US I don't think you need that DLL. SendKeys is an intrinsic command to VB. In conjunction with the AppActivate command, you can also use SendKeys to send keystrokes to other applications as well. Upvote 0 Downvote
I don't think you need that DLL. SendKeys is an intrinsic command to VB. In conjunction with the AppActivate command, you can also use SendKeys to send keystrokes to other applications as well.