Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / February 2005

Tip: Looking for answers? Try searching our database.

How to detect folder deleted event?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Voi Coi - 15 Feb 2005 14:02 GMT
Hi,

How can I detech folder deleted event and get information about deleting
folder? this event can be cancelled?

thanks,
Tuan Anh,
Ken Slovak - [MVP - Outlook] - 18 Feb 2005 13:55 GMT
The Folders collection has a FolderRemove event you can subscribe to, but it
doesn't tell you which folder was deleted (it fires after the deletion). If
the folder is deleted and goes to the Deleted Items folder you can catch the
ItemAdd event on the Items collection of that folder but if the user
hard-deletes (Shift+Delete) and bypasses the Deleted Items folder the only
thing you can do is to search all folders that are in existence after the
deletion and see what's missing that was there before.

FolderRemove can not be canceled.

Signature

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

> Hi,
>
[quoted text clipped - 3 lines]
> thanks,
> Tuan Anh,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.