This chapter has examined the way a managed COM add-in can be created using Visual Studio. You also learned how a managed COM add-in is registered in the registry, and the pitfalls of mscoree.dll for loading a managed COM add-in. To solve the problems with mscoree.dll, we recommended using a shim DLL to load a managed COM add-in. If you are building a COM add-in for Outlook 2003, there is a much better story for add-in developmentthe VSTO Outlook Add-in project described in Chapter 24.
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
Deployment
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