![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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_SnoozeEventHandle r(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. |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AdvancedSearchComplete Even Not Firing | Dav Banks | Outlook and VBA | 8 | June 8th 06 09:18 PM |
Inspector Close events not firing.. | Sanjay | Add-ins for Outlook | 1 | May 22nd 06 06:18 PM |
Setting a Reminder on events with a Yearly Recurrence pattern | Daniel Smith | Outlook - Calandaring | 0 | May 7th 06 02:00 PM |
MapiFolder Items ItemChange is not firing | AtulSureka | Outlook - Using Forms | 1 | February 6th 06 04:32 PM |
Outlook Addin CommandBarButton Click Event Not Firing | Stu | Add-ins for Outlook | 0 | January 17th 06 02:10 AM |