by Anonymous (267 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 24th May 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Send Keys Example
text1.setfocus 'this part is used to set the focus to the textbox, if not
'an error message will appear
sendkeys "Any thing" if you want to perform a command then you'll have to use
'names given for the keys of the keyboard in VB for
'eg; sendkeys "%"+"f4" - means ALT F4(closes the app.)