|
Sleep The Sleep function suspends the execution of the current thread for a specified interval. VB4-32,5,6 Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long) |
VB.NET System.Threading.Thread.Sleep |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
· dwMilliseconds Specifies the time, in milliseconds, for which to suspend execution. A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If there are no other threads of equal priority ready to run, the function returns immediately, and the thread continues execution. A value of INFINITE causes an infinite delay. |
This function does not return a value. |
|
|
|