rockjam
09-30-2001, 09:02 PM
I am new at this and I'm trying to write an application for work which will automatically do a backup of a certain file at a pre-determined time. I have everything working now except for my timers, I created a form with 2 textboxes asking for a morning time and an evening time. For some reason I can't get the program to hold the Time being input into the textbox so that I can compare it the the system time. How can I do this???
orufet
09-30-2001, 09:07 PM
What do you mean by saying that the program won't "hold" the time being input the the text box? Are you saying that the text disappears after a certain amount of time? We need a little more information.
"I do not agree with a word you say, but I will defend to the death your right to say it" - Voltaire
ANUNEZ
09-30-2001, 09:34 PM
I'm not sure of your needs, but you could save the values in a file or table or variable if you are sure that the system will be up all the time, then check those values again the system time. To compare the times you might convert them into seconds and them make the comparisons.
I hope this help.