HowTo: Namespace.Folders.Add

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

HowTo: Namespace.Folders.Add
 
Thanasis Boukouvalas




Posts: 40
Joined: 2006-06-17
Hi

Is there any way to add a top level folder (like Personal folders)?

I've tried to use Namespace.Folders.Add("MyFolder") and I'm taking exception.
Posted 10 Oct, 2006 08:04:02 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Thanasis.

To add a top level folder you need to create a new data file (.pst) and connect it to Outlook. You can use the AddStore method of the Outlook.NameSpace interface to add a new .pst file.
Posted 10 Oct, 2006 15:58:22 Top