O'Reilly logo

Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath by Eric Lippert, Eric Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

24. Creating Outlook Add–Ins with VSTO

Moving Away from COM Add–Ins

Chapter 23, “Developing COM Add–Ins for Word and Excel,” examined several issues with building COM add-ins in Visual Basic for Office applications. In particular, the chapter considered several problems with using the default configuration of a COM add-in where mscoree.dll loads the COM add-in:

• mscoree.dll can be disabled, causing all managed COM add-ins to stop loading.

• mscoree.dll cannot be signed, which makes it so your COM add-in cannot be loaded when the Trust All Installed Add–Ins and Templates option is not checked.

• mscoree.dll loads all COM add-ins into the same application domain, which allows COM add-ins to affect one another adversely.

VSTO add-ins for Outlook ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required