Fetching the Event when a folder is deleted

Add-in Express™ Support Service
That's what is more important than anything else

Fetching the Event when a folder is deleted
 
Matthias Kwiedor




Posts: 35
Joined: 2004-10-14
Hi!

I fetching the deleting of an Item with the "ItemAdd" Event bound to the Delete Folder.

But this event won't be called if there will be a folder removed! Is there a way to fetch that too! So after that i can get throught the folder and get all items, because i have to get them too!



Regards



Matthias
Posted 12 Jul, 2005 07:11:01 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Matthias.

You need to use the Outlook.FoldersEvents interface to connect to folders events in Outlook. I can develop an example for you if you wish.
Posted 12 Jul, 2005 12:22:30 Top
Guest


Guest


That would be great, if you can develop a little example for me!

But the Event will be fired if it is moved to an specified folder or does i have to bind each folder to that Event that i want to fetch if its moved?


Greetings



Matthias
Posted 12 Jul, 2005 13:26:32 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Matthias.

You can download an example here:
http://www.add-in-express.com/projects/olfoldersevents_cs.zip
Posted 13 Jul, 2005 15:11:22 Top
Matthias Kwiedor




Posts: 35
Joined: 2004-10-14
Hi Sergey,

thank you for your help and that example.



Greetings



Matthias
Posted 14 Jul, 2005 04:27:22 Top