Delay/Pause an App (no API call)

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
thegeekster

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This will pause an app for a specified number of seconds using Timer, and overcomes Timer "bug" of resetting itself at midnight.

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

Declarations:

Code: