Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer

Status
Not open for further replies.

Crookshanks

Technical User
May 18, 2004
296
NL
Good afternoon,

What is the simplest way to let the system just wait for one second? I don not want to write a loop (for next) because that uses process time and is not equal on each machine. In Javascript is it Window.settimeout

Kind regards,

 
1) Use the Sleep API function, or

2) something like:
Dim dtmNow As Date
dtmNow = Now()
Do Until DateDiff("s", dtmNow, Now()) > 1
Loop
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top