Get Favorite Folders

C

Chris.McConnell

Hi--

We have a stand-alone desktop program, called Adondo Personal Audio
Link, that among other things recites Outlook e-mail locally and over
the telephone. It's actually pretty cool, and uses a lot of advanced
technology like Speech Recognition and Text-to-Speech.

Right now PAL recites mail only from one location: the Outlook Inbox.
Several of our customers have asked that we figure out how to make PAL
read from other Outlook folders as well, since these customers run
Rules on incoming mail. While we could get PAL to recite from ALL
folders under the Inbox, we thought it would be better to have PAL
recite from select Outlook folders; and, we want to use Favorite
Folders as a means to specify those folders. The challenge is to
identify which mail folders are included in Outlook Favorite Folders.

This task seems straightforward with the Office 2007 object model, but
obscure in Office 2003/XP object models. For Office 2003, we think
the solution might involve ActiveExplorer plus Panes/Groups, but so
far we have not succeeded. We write in C#.

Does anyone know how to get a C# handle on Favorite Folders in Office
2003? Maybe enumerate them? Better still, is there an Outlook folder
property that states whether or not the subject folder is included as
a shortcut in Favorite Folders? That would make life easy.

Thank you in advance for you help!

Chris McConnell
www.adondo.net
 
G

Guest

I believe the only way this can possibly be done in Outlook 2003 is by
looking at the %appdata%\Microsoft\Outlook\<profilename>.xml file, which as
you'll see stores the EntryID value for the folder listed in the Favorite
Folders pane. You can read them in the <recentlyused> block, but I don't
know if you can modify the file and have it update Outlook's display.
 
G

Guest

Thank you, Eric. It looks like htat will work!

Eric Legault said:
I believe the only way this can possibly be done in Outlook 2003 is by
looking at the %appdata%\Microsoft\Outlook\<profilename>.xml file, which as
you'll see stores the EntryID value for the folder listed in the Favorite
Folders pane. You can read them in the <recentlyused> block, but I don't
know if you can modify the file and have it update Outlook's display.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top