January 2003
Beginner
696 pages
16h 38m
English
When you create a new add-in, the wizard takes care of writing all the code that connects the add-in to the IDE. If you drill into your Solution Explorer, you'll see the Connect.vb or Connect.cs class file. This class is responsible for handling the interaction between your code and the instance of the IDE that the add-in is connecting to. Notice the namespaces referenced at the top of the class file:
Microsoft.Office.Core
Extensibility
System.Runtime.InteropServices
EnvDTE
These namespaces are unique to dealing with the extensibility objects in the IDE, and the InteropServices namespace handles the interaction with COM at runtime. All the IDE-specific objects are located in the EnvDTE namespace.
In the ...
Read now
Unlock full access