Add folder to favorite folders

K

Koen Verwimp

Hello,

Is there a way to add a folder to the "favorite folders" pane
programmatically?

thanx,
Koen
 
K

Ken Slovak - [MVP - Outlook]

MAPIFolder.AddToFavorites(), or if you meant to add the folder to the public
folder favorites then MAPIFolder.AddToPFFavorites().
 
K

Koen Verwimp

Hi Ken,

Thanks for replying.

I tried AddToFavorite, but without success. I want to add a shortcut in the
"Favorite Folders" pane.

Thanks,
Koen
 
K

Ken Slovak - [MVP - Outlook]

Sorry, I misunderstood. That method adds the folder to the IE Favorites. The
object model doesn't expose any way to add a folder to the Favorites pane.
 
K

Koen Verwimp

Thanx Ken!

Ken Slovak - said:
Sorry, I misunderstood. That method adds the folder to the IE Favorites. The
object model doesn't expose any way to add a folder to the Favorites pane.
 

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