I've developed a VSTO add-in for Outlook using c#. In this add-in, I want to programatically select a public folder and navigate the user to it. The line I am using is:
_application.ActiveExplorer().CurrentFolder = projectFolder;
This successfully displays the contents of the folder and highlights the folder in the 'Folder List' tree, but it doesn't automatically scroll the folder list down so that the selected folder is visible on screen.
In a previous project, I used the same line of code (but in a VB6 COM add-in).
Set objOutlook.ActiveExplorer.CurrentFolder = mapDestFolder
In this case, it does scroll the folder view as desired.
Both add-ins above a are running in Outlook 2007
Is there any way I can get it to scroll the folder view when selecting the desired folder using the VSTO add-in?