Click here to Skip to main content
15,895,142 members

Comments by Dunno123 (Top 4 by date)

Dunno123 14-Feb-21 8:55am View    
No, that bit also works fine. The application checks DateTime.Now.TimeOfDay when the timer tick happens and then runs the .exe, which is always after 8 hours, so it doesn't matter when I start the application. Anyway thank you for your effort, I have already found the solution.
Dunno123 13-Feb-21 16:52pm View    
No, the alarm.exe starts fine and the application exits fine too. I just need to change it so that it won't run the .exe and close itself before 8am. That's all I am trying to achieve.
Dunno123 13-Feb-21 9:48am View    
The compare does work the way it is though.
Dunno123 13-Feb-21 8:56am View    
Thank you for your reply. I don't want to program to run all the time. I want to start the timer by starting the program. I am not sure I understand the solution you suggested :/