Howto use folder names?

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

Howto use folder names?
Making a express region pop up every time that I click on a specifc folder in Outlook 
This forum has moved to a new location. From now on, please post all your questions about Add-in Express Regions on .NET and VSTO forum.
Kenneth Christensen




Posts: 4
Joined: 2011-12-13
Hello
I have created a new folder in Outlook, in my inbox called NewFolder.
Could any of you give me an example on how to create a express region that will show up every time I click on my NewFolder in Outlook? I have tried now for a couple of days.
Perhaps it is something like the following in the express-class FormsManager.cs:
ADXOlForm2Item.FolderNames.AddRange(new string[] {"Inbox\\NewFolder"});

Kind regards from Kenneth
Posted 13 Dec, 2011 11:46:19 Top
Eugene Astafiev


Guest


Hi Kenneth,

Please note that you need to specify the full path to the folders. For example:

ADXOlForm1Item.FolderNames.AddRange(new string[] {"Personal folders\TEST","Personal folders\Inbox","Personal folders\Drafts"});


I.e. you need to specify the root folder too. In my Outlook the path to the Inbox folder is "Personal folders\\Inbox".
Posted 14 Dec, 2011 03:43:35 Top
Kenneth Christensen




Posts: 4
Joined: 2011-12-13
Simple and easy - thank you Eugene :-)
Posted 15 Dec, 2011 01:50:28 Top