Outlook 2010: Adding two buttons to the "Start" Ribbon tab

Add-in Express™ Support Service
That's what is more important than anything else

Outlook 2010: Adding two buttons to the "Start" Ribbon tab
 
Ulrich Schmidt




Posts: 24
Joined: 2011-12-21
Hi all,

This seems like a simple enough task, but I can't figure it out: I would like to add two buttons to the default Ribbon tab "Start" in the Mail view of Outlook. I have tried creating an adxRibbonTab with a adxRibbonGroup, checking the options "OutlookMailRead;OutlookMailCompose", so that it would get added to the Mail Ribbons. The Addin is registered correctly and loaded successfully, but nothing is displayed.
Could someone help me out and show me how to add these two buttons to the default ribbon? Thanks a lot.

Kind regards,

Martin
David Bodensohn
Teamleader Services and Sales Terminology
itl AG
Posted 30 May, 2012 01:46:26 Top
Andrei Smolin


Add-in Express team


Posts: 18791
Joined: 2006-05-11
Hi Ulrich,

Please try the settings below:


this.adxRibbonTab1.IdMso = "TabReadMessage";
this.adxRibbonTab1.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookMailRead;

this.adxRibbonTab2.IdMso = "TabMail";
this.adxRibbonTab2.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;

this.adxRibbonTab3.IdMso = "TabNewMailMessage";
this.adxRibbonTab3.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookMailCompose;


Getting a correct value for the IdMso property is described in the section Referring to Built-in Ribbon Controls in the manual, see {Add-in Express}\Docs\adxnet.pdf on your PC. Or, you can find this section at http://www.add-in-express.com/docs/net-ribbon-components.php.

Does it work for you?


Andrei Smolin
Add-in Express Team Leader
Posted 30 May, 2012 02:42:21 Top
Ulrich Schmidt




Posts: 24
Joined: 2011-12-21
Hi Andrei,

Thanks a lot for the quick reply. I have tried to add these settings (after creating three ribbons tabs with one ribbon group and the two buttons each), but the new ribbon group is still not showing up. I have re-compiled the add-in and re-registered it from VS2010. Still, no luck, even though under COM-Add-ins, I can see that the Add-in is loaded correctly.

Any ideas what might be wrong?

Kind regards,

Martin
David Bodensohn
Teamleader Services and Sales Terminology
itl AG
Posted 30 May, 2012 03:03:22 Top
Andrei Smolin


Add-in Express team


Posts: 18791
Joined: 2006-05-11
Martin,

Please download the sample add-in - http://www.add-in-express.com/files/support/MyAddin100.zip.


Andrei Smolin
Add-in Express Team Leader
Posted 30 May, 2012 03:08:47 Top
Ulrich Schmidt




Posts: 24
Joined: 2011-12-21
Hi Andrei,

Thanks again for the quick reply. I got it working now by using the sample Add-in as the basis. I tried to figure out what the problems was by comparing my project setup to the sample add-in, but unfortunately I couldn't quite narrow it down.
Well, it is working now and I can start testing and debugging.
Thanks a lot for your help.

Kind regards,

Martin
David Bodensohn
Teamleader Services and Sales Terminology
itl AG
Posted 30 May, 2012 04:04:40 Top
Andrei Smolin


Add-in Express team


Posts: 18791
Joined: 2006-05-11
My congratulations and best wishes, Martin!


Andrei Smolin
Add-in Express Team Leader
Posted 30 May, 2012 04:08:23 Top