How to know if ItemChange event was caused by Snooze/Dismiss or other?

  • Thread starter Tom van Stiphout
  • Start date
T

Tom van Stiphout

Hi All,
I need to track changes to appointments in Outlook (such as StartDateTime).
Therefore I've set up my VB6 app to listen for Outlook events, including the
ItemChange event on the Calendar folder.
I noticed this event also fires when a reminder is snoozed or dismissed. I
understand in Outlook2002 and up there is a Snooze event for that, but I'm
in 2000, and my question is how I can distinguish between clicking
Snooze/Dismiss and other changes.

Thanks,

-Tom.
 
M

Michael Bauer

Hi Tom,

in OL2k there is an Application.Reminder event. In combination with the
ItemChange you can track everything.
 
K

Ken Slovak

As Michael mentioned, each Reminder item that fires in the Reminders
collection would fire a Reminders.ReminderRemove, Reminders.ReminderChange
or Reminders.Snooze event if you are handling events for that collection. Of
course that is only available with Outlook 2002 or later.

In addition, in ItemChange you can check for the reminder related properties
such as ReminderTime and ReminderMinutesBeforeStart. Other important
reminder properties such as FlagDueBy are only available using CDO or
Extended MAPI or Redemption, they aren't exposed to the Outlook object
model. So if you only need to support Outlook 2002 or later your best bet is
using the Reminders collection.
 

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