none
Commandbar to ribbon on outlook 365 RRS feed

  • Question

  • We are migrating from outlook 2010 to Outlook 365 Add-In and one of the issues is the reference to commandbar id do not seem to work anymore as the current code executes id 7095 SendAndReceiveAll button. The reference comes back null and using outlookspy the id's no longer are visible in outlook 365 but exist in outlook 2010 standard.

    The code that currently executes this button is

    _sendReceiveAllCmdBarCtrl = ((Outlook.Explorer)mapiNamespace.Application.ActiveExplorer()).CommandBars.FindControl(1, 7095, Missing.Value, Missing.Value);

    _sendReceiveAllCmdBarCtrl.Execute();

    Now from my early knowledge is that this has changed to use the Fluent Ribbon, but how would I acheive the same result or some good documentation to start to understand the ribbon.

    Monday, December 11, 2017 10:08 AM

All replies