View Single Post
Old Apr 4th, 2006, 1:14 PM   #4
badbasser98
Hobbyist Programmer
 
Join Date: Mar 2005
Location: United States
Posts: 124
Rep Power: 4 badbasser98 is on a distinguished road
Quote:
Originally Posted by Xyhm
I think using sleep the way you describe sounds like a good solution. So what are you going to do, delete a few random files now and then?
No, this is a program that I will be using for my company that is scheduled to run 15 minutes before the store closes to remind the user to shutdown their PC. Since we tell them all the time and they never remember. I have created a GUI interface that runs with a few buttons and menu options. I want one option to be "Shutdown at". When the user selects this option they are given four choices of when they want the computer to shut down (differences between summer and winter hours). Thus why I wanted to reference the system time. This will be running on all Windows XP Pro systems.

Thanks,
-BB98
__________________
Learning to use C++ and loving every minute of it.
badbasser98 is offline   Reply With Quote