No Delete Event when Deleting a ContactItem ?

  • Thread starter Tom Dahlberg via OfficeKB.com
  • Start date
T

Tom Dahlberg via OfficeKB.com

Is there an event which fires when deleting a Contact from an Explorer (rather than an Inspector) ?
The ContactItem object has the "BeforeDelete" event, however this event only fires when there is an Open Inspector window.
Is there an event that fires when you do not have an open inspector window ? Or is there another way to detect when a contact has been deleted ?

thanks!
 
D

Dmitry Streblechenko \(MVP\)

MAPIFolder.Items.ItemRemove event. It does not pass the item to be deleted
to your event handler however.

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


Tom Dahlberg via OfficeKB.com said:
Is there an event which fires when deleting a Contact from an Explorer (rather than an Inspector) ?
The ContactItem object has the "BeforeDelete" event, however this event
only fires when there is an Open Inspector window.
Is there an event that fires when you do not have an open inspector window
? Or is there another way to detect when a contact has been deleted ?
 

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