Well, you could try searching for these synonyms
In the old days, this was important because a one millisecond sleep command was used to allow the operating system to update the screen. Under MS Windows, similar functionality is needed for various reasons.
Instead, you could use a Timer object - but this does not support good, logical program flow.
I prefer to use a direct Windows API call.
Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)
To just allow events to occur, try
DoEventsBut read my Visual Basic 6.0 Notes for a warning.
VOID Sleep(DWORD dwMilliseconds); // sleep time in millisecondsThese methods allow MS Windows to update the screen.
Application.HandleMessage; // Process one message Application.ProcessMessages; // Process all pending messages
Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)