Detecting deletion of a occurrence to a recurring appointment

G

GR

Hello,

I am writing a VB COM Addin for Outlook 2000. Is there a way (an event
firing maybe?) to know when a user has deleted just a single occurrence
of a recurring appointment?

I need to know when this happens and also which occurrence the user
just deleted (date/time).

Any ideas are appreciated.

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

There's no special event for deleting one instance of a recurring
appointment. The usual methods of tracking deletions by monitoring additions
to the Deleted Items folder are about it. BeforeDelete only applies if the
user opens the item and deletes it from the open item.

To see what was deleted use the Exceptions collection of the
RecurrencePattern for the recurring series. Each member of Exceptions has a
Deleted Boolean property that will tell you if the exception was caused by a
deletion. OriginalDate gives you the original start date. That property can
also be used where an Exception was created by changing the instance's
appointment time.
 

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