Putting application to sleep for a specified miliseconds in VB.NET
In VB.NET, you can make an application idle ( or sleep ) for a specified miliseconds. For example, in your programming code, you might want to let your program to be idle for 500 miliseconds after executing a certain functions and then execute the next function.
Apply the code below between functions:
System.Threading.Thread.Sleep(500)
Note : The number used is in miliseconds
* 1 sec = 1000ms
Subscribe to:
Post Comments (Atom)

0 comments
Post a Comment