Example of Microsoft Word add-on for VSTO with source code (VB.NET, C#)
Add-in Express Toys™ VSTO
for Microsoft Word
Add-in Express Toys VSTO is a free sample add-on for Microsoft Word 2003 and 2007. The add-in gives you an example of building a Microsoft Word add-in, creating command bars and interacting with the MS Word Object Model. The plugin is based on Add-in Express 2008 for VSTO and developed in Visual Basic .NET (VB .NET) and C# .
Customize Word with Add-in Express for VSTO
Though Add-in Express 2008 for VSTO is primarily targeted to Outlook and Excel developers, it also provides special features for Microsoft Word customization and quick development of the Microsoft Word user interface, including Office Word 2007 Ribbon tabs and Office Word 2003 command bars and controls, accessing the Object Model events, properties and methods, handling keyboard shortcuts and more.
Add-in Express 2008 for VSTO works in Visual Studio 2005 with VSTO 2005 Second Edition (SE) installed and Visual Studio 2008.
With Add-in Express 2008 for VSTO you can:
- Develop feature rich add-ons for Microsoft Word 2003 and Word 2007.
- Add new and customize built-in Word toolbars, menus, context menus, or pop-ups.
- Customize Microsoft Office Word 2007 Ribbon UI, build the Quick Access Toolbar and Office Menu for Microsoft Word 2007.
- Customize Word toolbar with any visual .NET controls, such as buttons, grids, labels, tree-views edit and combo boxes.
Find more about Add-in Express for VSTO 2008.
Download free sample Word add-in:
Please note the compiled binaries are not included in the setup package of the Add-in Express Toys VSTO. You need Add-in Express 2008 for VSTO to compile this Word add-in.
- Download free sample Word add-in in C# (source code)
- Download free sample Word add-in in VB .NET (source code)
- Download a compiled Word add-in (ready to install and use)
Note! All projects are built in VS 2005 with VSTO 2005 SE. When opened in the Visual Studio 2008, they will be automatically converted into the Visual Studio 2008 format.
Add-in Express Toys VSTO toolbar
This sample Word add-on for VSTO adds to Microsoft Word a new toolbar with several controls such as buttons, edits and combo boxes:

The controls are:
|
|
Shows the About window. |
|
|
Changes the font size according to the percentage selected. |
|
|
Expands or condenses the space between characters. |
|
|
Places the text above or below the baseline. |
|
|
Animates the selected text. |
Have a question? Ask it right now!
![]() |
If you need quick assistance or want to share your concerns, ideas or suggestions, please write us using the form below. |
![]() |







