Skip to content

B'Day remainder before one day (some timing)

Sachin Hole

Asked Jan 22, 2013, 9:04 AM EST1 answer
Share
LinkedInX
I want to add birthday message / alaram pop up in my C# windows application. And that alaram / message pop up after some time interval (fixed eg. after 15 min.). This alaram untill i have totally stop / close it.
Birthday list database is used as ms-access (oledb connection).
Please help me.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Akkiraju Ivaturi
    0
    Use a timer control in the windows forms that runs every time interval. Whenever timer time is elapsed, handle the event Timer_elapsed code.

    In that code connect to your database and check if there is any birthday coming and pop up every time until you close it.
    Create a table with column for storing the flag value. If flag is 0 then the window is not closed for the birthday and show popup every time.
    When you close the pop up, on the close event of the window update the table flag to be 1.

    Let me know if you have any other questions.
    0