Another one of those quick tips that I always forget. In order to use a Sleep function in Visual Basic, include the following library declaration in any module or form:
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Lets say you need to pause a programs execution by 5 seconds. You would call the function like so:
Sleep(5000)
Thank you good sir.
ReplyDeletethank youuuuuuuuuuu
ReplyDeleteThanks :)
ReplyDeleteThank you!
ReplyDeleteThank you, i was looking for this :-)
ReplyDeleteThanks a lot.
ReplyDeleteSimple and efficient !