If an error message is returned, the host application immediately releases its reference to the add-in, and the object is destroyed. If the OnConnection event returns successfully, the add-in is said to be loaded. The add-in may be connected on startup, by the end user, or through Automation. ![]() ![]() The OnConnection event fires whenever the COM add-in is connected. All COM add-ins inherit from this interface and must implement each of its five methods. The IDTExensibility2 interfaceĪ COM add-in is an in-process COM server, or ActiveX dynamic link library (DLL), that implements the IDTExensibility2 interface as described in the Microsoft Add-in Designer type library (Msaddndr.dll). ![]() This step-by-step article discusses Office COM add-ins and describes how to build an Office COM add-in by using Microsoft Visual C#. These add-ins are called Microsoft Component Object Model (COM) add-ins. Microsoft Office XP, Microsoft Office 2003, and Microsoft Office 2007 support a uniform design architecture for building application add-ins to enhance and to control Office applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |