Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Cross Message Store copy or move (http://www.outlookbanter.com/add-ins-outlook/75335-cross-message-store-copy-move.html)

Kevin July 17th 08 03:52 PM

Cross Message Store copy or move
 
Is there anyway to get notifications or events of cross message store copies
or moves either through an Exchange Client Extension or an Outlook Com
Add-in?

Thanks in advance,

Kevin



Ken Slovak - [MVP - Outlook] July 17th 08 06:31 PM

Cross Message Store copy or move
 
For an ECE you should ask in microsoft.public.win32.programmer.messaging,
that's where the MAPI
programmers hang out.

For the Outlook object model you can subscribe to events in any folder in
any open store, so you could handle Folder.Items.ItemAdd() in any loaded
folder. You can handle Folder.Items.ItemRemove() in any likely source folder
but that event fires after the item was moved/deleted and doesn't tell you
what item was affected.

For Outlook 2007 you can use the Folder.BeforeItemMove() event which tells
you which item will be moved and where. If the second parameter is null that
means the item is being deleted. That event can also be canceled.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Kevin" wrote in message
...
Is there anyway to get notifications or events of cross message store
copies
or moves either through an Exchange Client Extension or an Outlook Com
Add-in?

Thanks in advance,

Kevin





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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com