Programming guides for beginner...
Any comments are welcomed....
I hope it helps!!! Thanks for drop by...

Friday, October 15, 2010

Tips: Visual Basic 2008 pause function

This is a sleep function that can pause or sleep while in a process of executing instructions.
By putting the following function into visual basic 2008:

"Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)"

The time period will be calculated in Milliseconds (1 second = 1000 Milliseconds).
If you want to pause an instruction for 3 seconds


Hope this function will help you in your applications.

No comments:

Post a Comment