View Single Post
  #2  
Old July 10th 08, 01:51 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Clearing folder 'Deleted Items'

Get the Items collection for the folder and iterate it using a count down
loop, deleting items as you go.

--
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


"Koen Verwimp" wrote in message
...
Hey,

What is the best/easiest way to clear a MAPIFolder programmatically?

Thank you,
Koen


Ads