I am writing a VSTO Microsoft Outlook plug-in. The destination version of this plugin is Outlook 2007 and 2010, so I use the Outlook 2007 add-in (in Visual Studio).
I have a (visual) problem with ActiveMenuBar. It works fine in Outlook 2007, but in 2010 ActiveMenuBar does not exist; It is replaced by tabControl and ribbons.
I want to check the version ( Application.Version ), and if version 14 (Outlook 2010), then do not add the item to ActiveMenuBar, but add the ribbon to the Home tab ..
How to add a feed to the Home tab? For example, if I add a ribbon to the Message tab, I set ribbonControl.OfficeId to "TabReadMessage", but I cannot find the OfficeId from the Main tab.
source share