View Single Post
  #4  
Old November 8th 08, 05:58 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Remove Mail Item Event Doesn't Fire

Not in OOM - on the MAPI level (that is where the problem is), TABLE_CHANGED
event is fired rather than TABLE_ROW_DELETED.
This was fixed in Outlook 2007 as far as I know.
Outlook Object Model does not track TABLE_CHANGED event, plug Redemption
(through the RDOItems.CollectionModified event) does -
http://www.dimastr.com/redemption/rd...ems.htm#events /plug

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Nenad" wrote in message
...
Thank you.

Do you know if there is any workaround?

"Dmitry Streblechenko" wrote:

This is a known problem in Outlook 2003.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Nenad" wrote in message
...
I am programming against Outlook 2003 using Visual Studio 2008.

I have noticed that ItemRemove event from
Microsoft.Office.Interop.Outlook.MAPIFolder object never fire for the
last
item in the folder. More precise, it never fires if remove operation
leaves
folder empty after execution.

Is it normal behavior?

Thanks






Ads