How to pause/sleep the application for the given number of milliseconds
Posted on January 5, 2009
The following vb6 code will help to pause the application for given number of milliseconds. The code uses Sleep API.
1 2 3 4 5 6 7 8 | 'System & API - How to pause/sleep the application for the given number of milliseconds Option Explicit Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Sub Pause(ByVal seconds As Single) Call Sleep(Int(seconds * 1000#)) End Sub |
February 12th, 2009 - 16:54
Is there anyway you could tell a novice how to implement this? I am hoping to put it into an access form.