Dmitry Kostochko

Video HowTo: Intercept clicking on Outlook buttons (VSTO)

There is an easy solution: you can use the ADXRibbonCommand component. ┬áBasically there is only one thing that may present some difficulties to you – knowing the ID of the standard control. However, you can visit Microsoft website to find the list of all available control IDs (please see the link below). Everything else is as easy as pie with Add-in Express.

In this Video HowTo we'll intercept such Outlook buttons as Reply, Reply All and Forward and to give the end-user the possibility to cancel the default action of these Ribbon buttons.

See how you can do this:

This sample video was captured in Visual Studio 2008 (VB.NET) with Add-in Express 2009 for Office and VSTO.

You may also be interested in:

2007 Office System Document: Lists of Control IDs


  • Richard says:

    Is there an an similar possibility to get this for Outlook 2007 Explorer view since there are no ribbons there?

    greets richard

  • Dmitry Kostochko (Add-in Express Team) says:

    Hi Richard,

    Yes, it is possible. I would suggest using the ADXBuiltInControl component, which is purposed to intercept clicking on command bar buttons.

Post a comment

Have any questions? Ask us right now!