I'm making a periodic program and I want 5 minutes of interval. The timer control only gives 120000 mseconds! How can I solve this problem?
I've tried with this code:
Start = Timer ' Set start time.
PauseTime = 300
Do While Timer < Start + PauseTime
DoEvents ' Yield to other processes.
Loop
But using this code, when he's looping, causes an increse of the CPU usage to 100%. I want one code that reduce CPU usage.
Thank you
I've tried with this code:
Start = Timer ' Set start time.
PauseTime = 300
Do While Timer < Start + PauseTime
DoEvents ' Yield to other processes.
Loop
But using this code, when he's looping, causes an increse of the CPU usage to 100%. I want one code that reduce CPU usage.
Thank you