View Single Post
  #4  
Old August 3rd 06, 12:29 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default select navigation pane content

I think the method you're looking for is Explorer.SelectFolder.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Nkv" wrote in message ...
Sorry Sue, I didn't correctly explain the part I was missing.
Putting the folders in favorite is ok, the thing I would like
programmatically is to open a new explorer with the contact view (this is
also ok programmatically) but after that (and it is what I missunderstand) I
want to select and display programmatically one of the folder listed in the
"other contacts" part of the navigation pane of contact type (folder
previously added to favorite)

Thank you.

"Sue Mosher [MVP-Outlook]" wrote:

Add the folder to the Public Folders\Favorites hierarchy using the AddToPFFavorites method.

"Nkv" wrote in message ...
Hi,

I try to program with VS2005 and VSTO an AddIn to pop up contact type public
folder when call arrives.
I would like to get by program the same Outlook 2003 display that I get
manualy which is this:
I added the PF as favorites, so I can see them in "other contacts" section
when I click contact button in the navigation pane. With this way, I can see
cards of contacts, selected contact in preview pane, and I can also have the
different views I can select in the navigation pane.
Does anybody know how I can program this when I open the Public folder in my
Addin ? because by default, I get the all folders list in the navigation pane.

Thank you.


Ads