PC Review


Reply
Thread Tools Rate Thread

contact delete event

 
 
Mircea S.
Guest
Posts: n/a
 
      15th Oct 2003
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


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      15th Oct 2003
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mircea S." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Mircea S.
Guest
Posts: n/a
 
      16th Oct 2003
I was afraid of that. I wonder why Microsoft didn't included such an
important event in the object model?!

Thanks for answering!
Mircea

"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
> Reminder Manager, Extended Reminders, Attachment Options
> http://www.slovaktech.com/products.htm
>
>
> "Mircea S." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      16th Oct 2003
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).

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mircea S." <(E-Mail Removed)> wrote in message
news:OyLq$(E-Mail Removed)...
> I was afraid of that. I wonder why Microsoft didn't included such an
> important event in the object model?!
>
> Thanks for answering!
> Mircea



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete a wrong contact in the recent contact feature =?Utf-8?B?S2FrdHVz?= Microsoft Outlook Contacts 3 6th Nov 2007 11:13 PM
delete a contact name it does not delete from a distribution list =?Utf-8?B?d3Jlc3RsaW5nY29hY2g=?= Microsoft Outlook Contacts 4 29th Jul 2005 12:21 AM
How to trap delete row event and hide column event? Alan Microsoft Excel Programming 3 26th Apr 2005 04:25 PM
Delete Event when pressing delete in a datagrid? Lars Netzel Microsoft VB .NET 2 20th Jan 2005 02:38 PM
Can't delete contact folders with the delete key or =?Utf-8?B?Sm9oblQ=?= Microsoft Outlook Contacts 2 2nd Dec 2004 12:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.