gemme
asked on
Wait function in VB5
Is there a wait or sleep function in VB5 that I can use to release the cpu and suspend execution for a period of time?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks I will try this.
DoEvents()
Check it out in vbhelp
Check it out in vbhelp
Dim EndTime As Date
EndTime = Format(Now + #12:00:10 AM#, "long time")
Do Until Format(Now, "long time") > EndTime
DoEvents
Loop
Hope this helps.