![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
How can I prevent users from deleting/moving a folder in Outlook/exchange
that is created by my application? On solution might be to create an outlook plug-in and handle the event which is triggered before a folder is deleted. I could find an Outlook Object Model event FolderRemove but it gets triggered after the deletion of the folder. Any other idea? |
Ads |
#2
|
|||
|
|||
![]()
Version of Outlook?
For Outlook 2003 and earlier that's about it, the FolderRemove() event, which is pretty useless for what you want. You'd have to respond to that event and either re-create your folder or you'd have to hunt to find where it was moved and try to move it back. For Outlook 2007 you have the new Folder.BeforeFolderRemove() event which can be cancelled. If you subscribe to that event on your folder you get a MoveTo folder object and a boolean Cancel parameter. If MoveTo is null the folder is being hard deleted, otherwise it points to the new folder that will become the parent of your folder. For soft deletes MoveTo points to Deleted Items. Set Cancel to true to cancel the move. -- 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 "asoni12" wrote in message ... How can I prevent users from deleting/moving a folder in Outlook/exchange that is created by my application? On solution might be to create an outlook plug-in and handle the event which is triggered before a folder is deleted. I could find an Outlook Object Model event FolderRemove but it gets triggered after the deletion of the folder. Any other idea? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prevent users from moving or deleting a folder in Outlook | asoni12 | Add-ins for Outlook | 1 | September 10th 08 09:41 PM |
Can I prevent others from deleting calendar items? | dlongley | Outlook - Calandaring | 4 | March 27th 08 04:44 PM |
How do I lock contacts to prevent accidental editing or deleting? | Ronalds | Outlook - Using Contacts | 1 | July 25th 07 03:07 PM |
How do I prevent Outlook from deleting my online inbox messages? | jpau00 | Outlook - General Queries | 1 | May 27th 07 07:07 AM |
Outlook 2003...prevent deleting contacts? | Melissa | Outlook - General Queries | 5 | September 30th 06 01:57 AM |