Real-Time synchronisation between Outlook and a database

J

Julien

Hello everyone,

My purpose is to realize an application that records any
changes in outlook (contacts and calendar) in a database.
I want to make a realtime synchronisation so the only way
I found is to generate two collections at the start of my
application :
- the first collection contains X appointmentItem
objects, one for each appointmenent to come.
- the second contains X contactItem objects, one for each
contact.

With this solution, I'm able to know which appointment is
deleted (with beforeDelete event).
The first problem is that the beforeDelete Event isn't
fired when a contact is deleted...so I can't make a good
synchronisation. (I've tested the open event to see if it
works well and it is fired so my objects are correctly
initialized)

I also use two objects one for the contactFolder and the
other for the CalendarFolder which allows me to know when
a contact or appointment is added/changed.

Do you think there's a better solution than mine to
realize such an application ?

Thank you all.
Julien.

Sorry if my english isn't very good, I'm french...
 
Top