Re: Displaying a message at specified time
Posted by Met@ on August 27, 2002 at 18:16:35:
In Reply to: Re: Displaying a message at specified time posted by Marconi on August 27, 2002 at 18:12:40:
: : Hey everybody!
: : I've got a question :D I want my program to display a message at a specified time; e.g. every day at 12.00 pm, the program displays a message: "Time to go to bed!" Is this possible? If yes: how?
: You can put a timer object in your application, that's check the time of your computer every minute, and send the message when you want. Is important to set the timer interval to 60000 miliseconds in this case. If these number is to low your aplication will be very slow.
: Sorry my English. But I hope I helped you.
Tnx for your reply! Don't worry about your English ;) I understand you ;) Erm...about the solution you gave me...I thought of that before, but I didn't know the code! Can you help me with the code? Cuz....I don't know how to put a "time check" in my application and I don't know how I can let it trigger my message!