View Single Post
  #4  
Old March 29th 07, 06:04 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default how to identify deleted contacts for outlook add-in for integr

The problem is getting a reliable event when a contact is deleted.
Your code must be running at the time of the deletion and the user shouldn't
be deleting more than 16 items at a time and the contact should not be be
the last item in the folder. Too many ifs.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ayyappa Das" wrote in message
...
Thanks a lot for taking the time to reply.

One other idea we were trying to implement for this:- Everytime a contact
is
deleted, add this deleted contact to a temporary storage (file?) and use
this
in the synchronization. From your experience, is this too cumbersome to
do?
Any pointers will be a great help..

"Dmitry Streblechenko" wrote:

Unless you are using Extended MAPI in online Exchange mode (where you can
use the ICS API), your only option is to retrieve the list of all
existing
contacts in a folder and compare it with a list stored when you performed
the sync last time.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ayyappa Das" Ayyappa wrote in message
...
I am working on integration of outlook contacts with a third party
application. It needs to identify contacts that are deleted and delete
it
from the third party application.
Is there anyway we can identify permanently deleted contacts from
outlook?

Thanks,
Ayyappa






Ads