What this API call does is suspend ALL actions for a certain amount of milliseconds(1000 milliseconds=1 second)(duh…)
Original Author: Derek Haas
Assumptions
Just dont enter a number that is huge, or else you will be waiting for a very long time
Side Effects
Dont enter a super large number.
API Declarations
Public Declare Sub Sleep Lib “kernel32” (ByVal dwMilliseconds As Long)
Code
Private Sub Form_Load()
Call Sleep(1000)
End Sub
'This code example will "sleep" for 1 second, and then load the form.