Deleting a contact

  • Thread starter Thread starter John Britto
  • Start date Start date
J

John Britto

Hi,

Info: Outlook 2000

I want to get the item of the deleted contact.
But in the ItemRemove there are no inputs.
So how do I find which item is deleted?

Also ItemRemove events doesn't fire if u do a shift + Delete.
How do I handle this?

Thanks for ur help.

John
 
You can't do that easily since by the time ItemRemove fires the contact is
already gone (asynchronous event).
Your only solution is to cache all existing items in the folder (e.g.cache
their entry ids), then when ItemRemove fires load the list again and figure
out which item had been deleted.

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

Hi,

Info: Outlook 2000

I want to get the item of the deleted contact.
But in the ItemRemove there are no inputs.
So how do I find which item is deleted?

Also ItemRemove events doesn't fire if u do a shift + Delete.
How do I handle this?

Thanks for ur help.

John
 

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

Back
Top