1 Replies - 1815 Views - Last Post: 02 December 2011 - 03:41 PM Rate Topic: -----

#1 guyfromri  Icon User is offline

  • D.I.C Addict

Reputation: 46
  • View blog
  • Posts: 817
  • Joined: 16-September 09

Calendar reminders with no running sub

Posted 02 December 2011 - 03:00 PM

Hey guys!!

I have a silly question --

Let's say I'm making a calendar program and I want to leave it open all day. When 2pm rolls around I want it to tell me I have a meeting in 5 minutes...how would I go about this? Do I have to have a sub that's constantly running and slowing down my comp or is there a function/better way that is going to surprise me?

I'm not looking for the code, just some feedback on the best way to achieve this...

As always, thanks in advance!!!

Is This A Good Question/Topic? 0
  • +

Replies To: Calendar reminders with no running sub

#2 smohd  Icon User is offline

  • Critical Section
  • member icon


Reputation: 1819
  • View blog
  • Posts: 4,627
  • Joined: 14-March 10

Re: Calendar reminders with no running sub

Posted 02 December 2011 - 03:41 PM

So you need to create alarm/reminder program, there are many ways to go about it, but remember there must be alive sub for the program to be live, and it wont slow down the computer because one small program is running.
- You can use timer to deal with your project and look for time in every time tick.
- To make it live, you can minimize it in system tray and if time comes, just display notification and play misic
That is all for it to work.

There are some examples in MSDN and Code Project which will give you a way to start:
Creating Alarm Clock -Channel9 tutorial
Alarm clock
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1