hi guys! i have a program that check the current time and compare it to time specified by the user but i want to perform the checking every once in a while for example every 5 minutes..can anybody please tell me on how to do this. Thanks in advance!
Printable View
hi guys! i have a program that check the current time and compare it to time specified by the user but i want to perform the checking every once in a while for example every 5 minutes..can anybody please tell me on how to do this. Thanks in advance!
I got it i have to use Timer right? or is there anny better way?
A timer is a good idea.Quote:
Originally Posted by daimous
Another good idea is to calculate the time difference between DateTime.Now and the specified time and set the Interval according to the result
ok Thanks!