A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Reminder Events - not firing



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 3rd 06, 10:56 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default Outlook Reminder Events - not firing

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.