Pause your Program and let Other Processes Execute w/o API

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Andrew Park

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Use the procedure by calling the procedure DoDelay (x) where x is wait time in seconds. Thanks to pkwatz for adding bug fix whereby delay did not work if it was set to more than 60 seconds.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: