A few questions on programs and when they can run...

This is a discussion on A few questions on programs and when they can run... within the Windows Programming forums, part of the Platform Specific Boards category; Hi, Just starting to write a program to track all aspects of my pet's health and feeding. I want to ...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    A few questions on programs and when they can run...

    Hi, Just starting to write a program to track all aspects of my pet's health and feeding. I want to make one that will notify the user of the computer when the animal needs to be fed, or when something hasn;t happened for a while., etc.

    1.) I know how to make the program run at startup but how can you make it like one of the little icons in the lower right hand corner of the screen and keep it running but not visible that way when it needs to notify someone of something it can just pop-up without someone having to run the program.

    2.) How do you make the program notify you of something in x number of days?

    Thanks!

    -----
    -Doug Daly

    "Arent you two a little old to be drinking illegally?"

  2. #2
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    That's platform-specific. Ask a moderator to move this thread to (I'm guessing) the Windows Programming forum.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    1) hide your main window and use Shell_NotifyIcon
    2)You can get the time with GetLocalTime and you could save it somewhere and check each time the program checks against the current time.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21