COM add-in for MS Word in Delphi with
complete source code

Add-in Express Toys™ VCL
for Microsoft Word


Add-in Express Toys 2 is a free Microsoft Word COM add-in that adds a syntax highlight feature to MS Word. The plugin is based on Add-in Express for Office and VCL and designed to show how to create add-ins, manage add-in toolbars and controls, and get access to Word objects. Add-in Express Toys 2 for Word supports MS Word 2000, 2002 (XP), 2003 and Word 2007.

How Add-in Express can ease creating Word add-ins in Delphi

Add-in Express is a VCL class library that allows you to:

  • Create Word Add-ins supported by Word 2000, 2002, 2003 and Word 2007.
  • Add your own command bars and controls such as submenus, toolbars, buttons, etc.
  • Control any built-in command bars and their controls including the main menu and pop-ups.
  • Customize the Microsoft Word 2007 Ribbon UI, build the Quick Access Toolbar and Office Menu for Word 2007. More about customizing Word 2007 Ribbon UI.
  • Handle Word events such as BeforeDocumentSave and BeforeDocumentClose.
  • Develop smart tag libraries for Word.

Add-in Express uses the Word.Application object (as an instance of TWordApplication) to provide access to all Word objects and events. It supports Delphi 5, 6, 7, 2005, Delphi 2006 - 2010. Read more about Programming Office add-in with Add-in Express VCL.

Download sample Word add-in

Note. Add-in Express Toys 2 for Word is developed on Delphi 7. The source code doesn't include the Add-in Express for Office and VCL source files.

Add-in Express Toys 2 toolbar

Add-in Express Toys 2 for Word adds to Word a new folder specific toolbar with tree buttons:

The buttons are:

Shows the Add-in Express Toys About window.

Selects a syntax rule for text highlighting.

Highlights the selected text.

Shows the Options dialog box.