Outlook Reminder Events - not firing

S

sam.fielden

I am developing an Outlook Add-in to Outlook 2003 using VSTO in .Net
2.0 using C#

I already have code working, tested, documented and released, I am
currently working on an upgrade to the code base.

I am experiencing some problems capturing Reminder events of the form:

ThisApplication.Reminders.ReminderFire
ThisApplication.Reminders.ReminderChange
ThisApplication.Reminders.ReminderRemove
ThisApplication.Reminders.ReminderSnooze

Is essence what I am attempting to achieve is to take specific actions
(specific to my add-in) when the user selects to "Dismiss" or "Snooze"
a reminder alert, or even "Dismiss All". I have some sample code below
which demonstrates what I'm doing to help you visualise and understand
my situation.

<snip>

using Outlook = Microsoft.Office.Interop.Outlook;

private void ThisApplication_Startup(object sender, System.EventArgs e)
{
// subscribe to the reminder event which fires when a reminder is
displayed to the user
this.Reminder += new
Outlook.ApplicationEvents_11_ReminderEventHandler(ReminderEventHandler);

// subscribe to the event which fires when the user snoozes the
reminder
this.Reminders.Snooze += new
Outlook.ReminderCollectionEvents_SnoozeEventHandler(Reminders_Snooze);
}

private void ReminderEventHandler(object Item)
{
// this event fires successfully all the time
System.Diagnostics.Debug.WriteLine("A reminder has been displayed
at " + DateTime.Now.ToString());
}

private void Reminders_Snooze(Outlook.Reminder ReminderObject)
{
// this event NEVER fires EVER
System.Diagnostics.Debug.WriteLine("The user snoozed a reminder at
" + DateTime.Now.ToString());
}

</snip>

I've searched high and low all over the net for other peoples solutions
to this but have found nothing. Any and all advice here would be
useful.

Sam.
 

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

Top