LostProgrammer
Centurion
- Joined
- Jan 17, 2003
- Messages
- 123
Well done for the day atleast!
All the programs I always write are very simple in the sense that the user runs them. They enter data and then close the program. I just got the info on how to make the program run in the system tray. What I would like this program to do is while sitting in the system it would pop up a reminder to do somthing with say a message box. Like at 11:55 am it would pop up a reminder saying "Hey dont forget to log out!"
I can honestly say I do not have a clue on how to achieve this. I tried to make a while loop:
while (alarmTime <> system.datetime.now)
obviously this did not work, it just put a really long loop on my machine until that time was achieved. Can anyone throw me in the right direction, or point me to some good info on how I write a program like this? I just dont think I am thinking properly about how this program should be solved.
Thanks so much
LP
All the programs I always write are very simple in the sense that the user runs them. They enter data and then close the program. I just got the info on how to make the program run in the system tray. What I would like this program to do is while sitting in the system it would pop up a reminder to do somthing with say a message box. Like at 11:55 am it would pop up a reminder saying "Hey dont forget to log out!"
I can honestly say I do not have a clue on how to achieve this. I tried to make a while loop:
while (alarmTime <> system.datetime.now)
obviously this did not work, it just put a really long loop on my machine until that time was achieved. Can anyone throw me in the right direction, or point me to some good info on how I write a program like this? I just dont think I am thinking properly about how this program should be solved.
Thanks so much
LP