how to keep my program alive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi There,

How do i do this.

I would like my program to display a message ( a message box with the time)
every hour
for example, my program it's running and when it's 4:00 i would like the
program to display it's 4:00 and do the same when it's 5:00 without anyone
presssing any button.

any help? can i also make the message disapear after 10 secondes?
 
You should run your app in background and show some king of dialog with the
time using timer control.

Set timer to 60000 and check the time every minute. If the time meets some
condition - display your own form (do not use MessageBox 'cos it's a pretty
hard to close it without user's click on a button).

Gaidar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top