Create Outlook addin / plugin in C#, VB.NET:
custom ribbon tab, toolbar, menu

Add-in Express™
for Microsoft® Office and .net

Develop Outlook add-ins

Microsoft Outlook is one of the more complex applications in the Microsoft Office Suite. Outlook provides numerous user interface elements and objects that can be customized and/or controlled to suite your business rules. The trouble is, out-of-the-box, Visual Studio provides a limited number of designers… meaning, you need to write a significant amount of code to perform tasks that should be trivia, like creating a custom toolbar or ribbon for your Outlook addin.

To fill this gap, Add-in Express provides the tools you need to simplify programming Outlook COM add-ins. Our tools allow for true RAD development by providing designers and easy-to-use controls for:

  • Outlook Explorer & Inspector Ribbon
  • Outlook Explorer & Inspector command bars
  • Outlook Backstage View
  • Outlook main menu
  • Outlook context menus
  • Quick Access Toolbar
  • Outlook Option Pages
  • Outlook Folder Pages
  • Custom Forms Manager
  • Outlook bar shortcuts
  • Keyboard Shortcuts
  • And more!

Support all Outlook versions with a single code base

Using Add-in Express, you can program plug-ins for: Microsoft Outlook 2000, XP, 2003, 2007 as well as Outlook 2010, 2013 and 2016 32-bit and 64-bit.

You can target a specific Outlook version or you can build a plug-in that supports multiple versions. If you decide to target multiple versions, you can do so within a single code base. This feature alone will spare you hours of time.

Add-in Express supports Outlook plug-in development with the programming language of your choice as long as it's either C#, VB.NET, or C++. If you want to use F#, you are a bit out of luck for now.

Last of all, at least before digging a little deeper, is that Add-in Express allows you to create Outlook add-ins in all versions of Visual Studio 2017 - 2010 (C#, VB.NET, C++), plus all VS SKUs including Visual Studio Express.

Creating a new Outlook COM add-in project is easy

After you install Add-in Express, you can develop a .net Outlook plugin in a matter of minutes. With Visual Studio open, you need only click "New | Project" from the main menu and select the ADX COM Add-in project template. This template resides in the Other Project Types node under Extensibility.

Creating a new COM Add-in project

All you need to do is name your project and specify files location. When you're ready, you click the Okay button and Add-in Express takes over by walking you through a wizard that streamlines the setup of the Outlook addin project within Visual Studio.

Selecting your programming language and Office version you want to support

The Wizard allows you to specify your programming language and version of Office you want to support. A subsequent Wizard screen allows you select the Office applications you wish to target for your addin. To target Outlook, you need only check the Outlook checkbox. When you complete the wizard, Add-in Express generates a new Outlook add-in solution and opens it within Visual Studio.

Key Benefits:

  • You can use any programming language to create a plug-in for any Outlook versions from all Office suits (editions).
  • You can use Outlook 2000 PIAs (Primary Interop Assemblies) without installing Outlook 2000 on your PC.
  • The New Project wizard creates the COM Add-in project automatically.

Add-in Module is the heart of your Outlook Add-in

After Add-in Express creates your project, it opens the AddInModule file and displays it in the design view. This designer is where you place components you want to utilize in your Outlook plug-in. For example you can use the designer's toolbar to quickly add a custom ribbon tab or toolbar.

Visual designer: adding a custom ribbon tab

After you add custom UI elements for your plugin, you then write code that accesses these objects and/or responds to their events.

Key Benefits:

  • All Outlook versions and editions are supported, across Outlook 2000 to 2016.
  • Outlook-targeted properties.
  • Your interface-related code is concentrated in one place.
  • Rapid Application Development approach is applied to Outlook add-ins.
  • Several add-ons in one assembly – just modify the SupportedApps property.
  • You program the user interface of your Outlook plugin at design-time.

Customizing Outlook Ribbon user interface

One of the most popular customizations within Outlook (and Office) plug-ins is a custom Ribbon. To start creating your own custom Ribbon, you simply add Ribbon-related components like the Ribbon Tab control (ADXRibbonTab), Ribbon Group (ADXRibbonGroup), and Ribbon Button (ADXRibbonButton) controls.

A custom tab with a ribbon group and a button in Outlook 2010

Add-in Express provides these ribbon controls and builds the required Ribbon XML for you. We also write the code to load the custom Outlook ribbon and display it in the appropriate context. All you need to do is design it, decide where to display it, and write your functional code according to your requirements.

Key Benefits:

  • You create Office Ribbon XML markup with .net components.
  • Simple properties add your custom Ribbon tabs or Ribbon Office menu items to any context of the Ribbon-enabled Outlook Inspector window.

Extend the Outlook UI with custom task panes

Outlook's extensibility model is mature and filled with several UI customization options. Each of these has their purpose and expected behavior. This said, there is one option that is a bit of a wild card - custom task panes. With custom task panes, you can design a UserControl according to your needs and then display it in one of four supported regions (left, right, top, or bottom). Standard Microsoft Office task panes are limited to Outlook 2007, 2010, 2013 and Outlook 2016 only.

A custom Office task pane in Outlook 2010

Using Add-in Express, you can display task panes in the location you want without the need to write hundreds of lines of code. After designing and coding your user control, all you do is add it to the Add-in Module's TaskPanes collection, set the user control as the ControlProgID, and set your preferred DockPosition.

Designing a custom Office task pane with Add-in Express

Key Benefits:

  • You use familiar technologies for programming Outlook custom task panes.
  • You save hours.

Advanced regions take Outlook customization to a higher level

Outlook 2007 and beyond supports Microsoft Outlook Form Regions. These standard form regions can only be displayed in the bottom section of the Outlook Reading pane and in four areas of an Inspector window. But with Add-in Express, you can utilize our Advanced Form and View Regions for customizing Outlook forms and Outlook views and overcome these limitations as well as limitations of standard Microsoft custom task panes. And, as you might expect, our advanced regions have many more options than standard Microsoft tools.

For example, advanced view regions can be displayed in the Explorer Window's:

  • Reading Pane: left, right, top, or bottom
  • Outlook Bar: bottom
  • ToDo Bar: bottom
  • Outlook folder view (SuperGrid): left, right, top, or bottom
  • Navigation Pane: bottom
  • Dock Pane: left, right, top, or bottom

See all types of supported Advanced Outlook view regions.

Advanced Outlook view regions embedded into the Explorer Window

For the Inspector Window advanced form regions support the following locations:

  • Around Inspector: left, right, top, or bottom
  • Inspector Region on demand
  • Complete replacement of the Inspector Window

Find more about Advanced Outlook form regions.

Advanced Outlook view regions embedded into the Inspector Window

Customizing traditional Outlook command bars without blisters

In modern versions of Office 2010, 2013 and 2016, Outlook utilizes the Fluent Ribbon User Interface (aka The Ribbon) in both the Explorer and Inspector windows. But if you are using a previous version of Outlook, the Ribbon doesn't exist, save for the Outlook 2007 Inspector window.

These details can be very confusing and difficult to track, especially when all you want to do is write your business logic instead of writing code that checks which version of Outlook the user is running so you know which controls to create.

Creating a custom toolbar for Outlook 2000 - 2007 using a visual designer

Add-in Express alleviates this issue with its special Outlook Explorer and Outlook Inspector CommandBar components. Add one or more of these to the Add-in Module, use its visual designer to add command bar controls, write a little code to the button events, and the next thing you know - you have a custom command bar that is the envy of the Office :)

You can further customize your command bars by using the FolderName, FolderNames, and ItemTypes properties make them context-sensitive. And if the standard command bar controls don't suit your needs, you can utilize custom or 3rd party .net controls.

Key Benefits:

  • Simple Outlook-oriented components to create or connect to custom and built-in toolbars, menus, and context menus.
  • Context-sensitive command bars - you specify one or more folders and/or a folder's default item types for the command bar to show up.
  • Add custom .net controls to Outlook toolbars with Toolbar Controls for Microsoft Office.

Make Outlook add-in deployment easy on you and your users

Perhaps one of the best strategies for making your life as a developer easier is in the area of deployment. You have your choice between ClickOnce, Windows Installer, and our own Click Twice deployment model. The various options exist to support different scenarios involved with Outlook plugin deployment.

Using Add-in Express, you can quickly build any of the supported deployment packages with a few clicks of the mouse. Add-in Express add-ons are based on the loader - a feature-rich shim and bootstrap application that handles the task of loading your plug-in into a Microsoft Office application.

Building a deployment packages using ClickOnce deployment model

With automatically generated setup project, the Add-in Express provides you with the following benefits:

Key Benefits:

  • Manifest-configured features: setup log, non-admin installation, updating your Outlook add-on while it is loaded.
  • Ready-to-use custom actions for your setup project: just build the setup project.
  • Per-user and per-computer add-in installations.
  • You can sign the Add-in Express Loader with a digital certificate thus making your add-ins trusted.

Learn more about Deploying Office add-ins with Add-in Express.

You may find useful a free VB.NET, C# - Outlook addin example, which is available for download with the source code.

Also, please check out the step-by-step sample from the Developer Tutorial showing how to build an Outlook add-in: Writing Outlook plugin in C#, VB.NET.