Custom Ribbon in VSTO Addin for Outlook 2010 doesn't display

Kaganar picture Kaganar · Feb 15, 2012 · Viewed 10.1k times · Source

I've got a minimal VSTO Addin for Outlook 2010 with a ribbon. My only goal is to display a ribbon (created via designer) with no functionality. From what little I can tell from MSDN ribbons should just automatically be displayed by default, perhaps with tweaking ControlIdType/CustomId properties for tabs.

Alas, tweaking these properties does nothing -- Outlook loads and displays no tab. A simple message box displayed in the ribbon loader reveals it never is triggered. Additionally, I haven't seen any information resources (tutorials, walkthroughs, overviews, etc..) that say anything about needing to manually tell Outlook to display tabs.

  1. How do I get the tabs displayed?
  2. Is there a good resource other than MSDN that's good for VSTO newbies?

Answer

John Koerner picture John Koerner · Feb 15, 2012

To get your ribbon displayed, on the base ribbon in your code change the RibbonType property to be Microsoft.Outlook.Explorer.