Andrei Smolin

New version of Add-in Express sample COM add-in projects

Hello Developers,

Quick news: we’ve developed a new version of sample COM add-in projects that we provide in the downloadable archive on the Add-in Express .NET Downloads page; the archive is labelled Add-in Express for Office and .NET sample projects.

The sample add-ins create the Ribbon UI; the source code shows how you create Ribbon controls and update them depending on the context. In the source code, we also show the recommended way of using Add-in Express panes. Plus, the projects handle host applications’ events including pressing a keyboard shortcut. Finally, you’ll see how to use the object models to identify the context in which a pane or Ribbon control is shown.

The new version is also available for download at the end of this post. We suppose this will help us quickly respond to your questions relating to these sample projects. Later on, we’ll publish newer versions here as well, if required.

Also, find the updated versions of the Add-in Express manual and class reference (CHM). As to the class reference built in Visual Studio, you’ll get it with the next Add-in Express build.

Caution. If you re-use the source code, make sure you change the ProgId and Guid attributes of the add-in module! Otherwise, you may create a mess in the Windows registry.

Available downloads

Your first COM add-in for Excel, PowerPoint and Word. Version 2.0. VS 2010-2019:

VB.NET add-in

C# add-in

Your first COM add-in for Outlook. Version 2.0. VS 2010-2019:

VB.NET add-in

C# add-in

Post a comment

Have any questions? Ask us right now!