contact delete event

  • Thread starter Thread starter Mircea S.
  • Start date Start date
M

Mircea S.

Hi,

It seems I do not have a delete Contact Item event in the COM Add-In I
develop for Office 2000. Is there a possibility to catch this event?

TIA,
Mircea
 
There's an ItemRemove event for a MAPIFolder's Items collection, but
it fires after the item is already deleted and provides no handle to
the deleted item. You could use ItemAdd on the Items collection of the
Deleted Items folder but that wouldn't fire if the item was hard
deleted (Shift+Delete). There's no real good solution to the problem
I'm afraid.
 
I was afraid of that. I wonder why Microsoft didn't included such an
important event in the object model?!

Thanks for answering!
Mircea
 
It's something we've complained about for years. Even with Outlook
2002 and later where there is an Item.BeforeDelete event that passes
along the item being deleted the functionality is very limited. You
only get the event when an open item is deleted in the Inspector using
the File, Delete menu action. You don't get the event when someone
deletes an item from a folder view (Explorer).
 
Back
Top