Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wait function in VB.NET

Status
Not open for further replies.

anubis7000

Programmer
Apr 27, 2006
19
US
Greetings,

Is there a “wait” function that can be used in visual basic? I am using visual studio 2005.
Basically, I want to be able to send a keystroke to the keyboard and then wait 2 seconds (using wait or sleep), and then send another keystroke.

I know in Access (vba) there is a wait function, but I haven’t found one for VB.NET yet.

Any suggestions? thnx
 
Something like
Code:
Threading.Thread.Sleep(2000)
?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top