I have created a program that needs to compress all the data in a directory and save it to 3 different locations, i have completed this with help from you guys and it is working pretty good, but i have found a small item i am trying to iron out.
When the program starts it waits until the datetime.now.seconds = 10 and then starts a forms.timer with an interval of 60000
this all works great but what i have found over hours (12hrs+) the time creeps; after looking into it the forms.timer counts on completion of the code that is run within its proceedure, is there a better type of timer that will fire every 60 seconds and not creep?
I did read the System.Timers.timer and also the threading but didn't really understand if they would accomplish what i want.
Thanks
Stu
When the program starts it waits until the datetime.now.seconds = 10 and then starts a forms.timer with an interval of 60000
this all works great but what i have found over hours (12hrs+) the time creeps; after looking into it the forms.timer counts on completion of the code that is run within its proceedure, is there a better type of timer that will fire every 60 seconds and not creep?
I did read the System.Timers.timer and also the threading but didn't really understand if they would accomplish what i want.
Thanks
Stu