VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Send Keys Example

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

Rate 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.)

Download this snippet    Add to My Saved Code

Send Keys Example Comments

No comments have been posted about Send Keys Example. Why not be the first to post a comment about Send Keys Example.

Post your comment

Subject:
Message:
0/1000 characters