Time Check

GUIDO22

Registered User.
Local time
Today, 16:18
Joined
Nov 2, 2003
Messages
515
Is there any way (OTHER THAN USING A FORM_TIMER event), to run a function to refresh the contents of some controls every hour / half hour?

I dont want to tie up system resources doing this - can I create an event to run on the hour, every hour?
 
You can try using the following Sleep function


Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Sleep 4000 ' this will sleep for 4 seconds
 

Users who are viewing this thread

Back
Top Bottom