Subject: Force a Key Press?
Posted By: ashley_y Post Date: 1/9/2004 2:06:42 PM
Is there a way to force Visual Basic .net to perform a certain key press? What I want to do is automatically invoke a "tab" press after the user has clicked a button. I've looked around online and can't find anything. Any help is appreciated!

Reply By: ashley_y Reply Date: 1/9/2004 2:58:21 PM
Eh, finally found it. For anyone who cares:

Imports windows.system.forms.sendkeys

'in form
Send("{TAB}")

Reply By: marcostraf Reply Date: 1/9/2004 2:59:11 PM
VB:   SendKeys "{TAB}"
.NET: look at the SendKeys class
Marco

Go to topic 8383

Return to index page 972
Return to index page 971
Return to index page 970
Return to index page 969
Return to index page 968
Return to index page 967
Return to index page 966
Return to index page 965
Return to index page 964
Return to index page 963