Develop COM add-ins / plugins development for
Outlook, Excel, Word, PowerPointin in Delphi .NET

Add-in Express™ .net
Add-in Express .NET and Borland Delphi for .NET

Now besides VB.NET, C#, C++ and J#, Add-in Express .NET directly supports Borland Delphi for .NET. We specially have ported all Add-in Express wizards to Delphi .NET to provide the same way as in Visual Studio for Delphi developers that use Delphi 8, Delphi 2005 and higher for their .NET projects.

1. Create a new COM add-in project with Add-in Express wizard

In the Delphi IDE, select the "New | Other" item on the main menu, and run the "Add-in Express COM Add-in Project" wizard in the "Add-in Express .Net Projects" item of the Categories tree.

Creating a new COM add-in project

Name your add-in project, specify the project path, and click Finish.

Naming the add-in project and specifying the project path

The wizard generates a new add-in project and opens it.

Generating a new add-in project

2. Customize your add-in

In the Project Manager window, select the add-in module, activate the Object Inspector, name your add-in via the AddInName property (this name will appear in the COM Add-ins dialog box of the host applications), and select the host applications you need in the SupportedApps property.

Customizing the add-in

3. Add a new command bar

To add a new command bar click one of the Add Command Bar links on the Object Inspector window.

Adding a new command bar

In the Object Inspector, name the added command bar via the CommandBarName property and select its position via the Position property.

Naming the command bar

4. Add a new button to the command bar

In the Object Inspector, select the Controls property of the add-in module, run its editor, click the Add button.

Adding a new button to the command bar

Then name the added button via the Caption property and close the collection editor. To handle button click, in the Object Inspector select the added button and add the OnClick event handler.

procedure TAddinModule.ADXCommandBarButton1_Click( 
    sender: System.Object); 
begin 
    ShowMessage('I have done this!'); 
end

5. Register and run the add-in

Close all the applications that you have selected as add-in host applications, save the project, and compile it. Run one of the selected host applications, find your toolbar and click the button.