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 C# 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.

Outlook Add-Ins

VSTO 2005 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 Outlook Add-Ins with VSTO." The VSTO Outlook add-in project fixes many of the issues in COM add-in development discussed in this chapter as well as some additional Outlook-specific issues. The only reason to write a managed COM add-in for Outlook following the instructions in this chapter is if it must run in versions of Outlook older than Outlook 2003.

Part One. An Introduction to VSTO

An Introduction to Office Programming

Introduction to Office Solutions

Part Two. Office Programming in .NET

Programming Excel

Working with Excel Events

Working with Excel Objects

Programming Word

Working with Word Events

Working with Word Objects

Programming Outlook

Working with Outlook Events

Working with Outlook Objects

Introduction to InfoPath

Part Three. Office Programming in VSTO

The VSTO Programming Model

Using Windows Forms in VSTO

Working with Actions Pane

Working with Smart Tags in VSTO

VSTO Data Programming

Server Data Scenarios

.NET Code Security


Part Four. Advanced Office Programming

Working with XML in Excel

Working with XML in Word

Developing COM Add-Ins for Word and Excel

Creating Outlook Add-Ins with VSTO

show all menu

Visual Studio Tools for Office(c) Using C# with Excel, Word, Outlook, and InfoPath
Visual Studio Tools for Office(c) Using C# with Excel, Word, Outlook, and InfoPath
ISBN: 321334884
Year: N/A
Pages: 214 © 2008-2017.
If you may any questions please contact us: