23. Developing COM Add–Ins for Word and Excel

Introduction to Add–Ins

Office provides a number of patterns to extend the functionality of Office applications. The most common patterns are these:

• Office automation executables

• Office add-ins

• Code behind an Office document or template

This chapter covers how to write COM add-ins in Visual Basic for Word and Excel. It also describes how COM add-ins are registered in the registry and why there is another step, called shimming, that must be taken before deploying a managed COM add-in.

VSTO supports building a new kind of “VSTO–style” add-in for Outlook 2003. The VSTO Outlook add-in project is the preferred way to build Outlook add-ins for Outlook 2003 and is described in Chapter 24, “Creating ...

Get Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.