My integration journey is taking some exciting turns. As always, I would encourage you to read the first three posts in this series ( Chapter One , Chapter Two , and Chapter Three ) before reading this one. I have finally integrated the VSTA IDE into my Contact Manager program. I am going to go through...
Here is the second chapter in my integration journey. If you have not looked at the first blog post , it would be a good idea to look there first, because that post will explain the application I am working with and my idea behind it. First, let’s look at a few things that have changed since my...
Are you integrating VSTA with a COM object model? We’ve created a simplified approach to integration for host applications with COM OM that you may wish to consider. This approach makes it unnecessary for you to generate a proxy of your COM object model. It is demonstrated with this sample: “ShapeAppBasicMFC...
Q : I have a couple of questions that I hope you can answer: 1) It seems that any time the VSTA documentation discusses running end-user-code, it refers to that user code as an “addin,” even if that code comes from a macro recording. Therefore, is it fair to say that all code that end-users...
The easiest way to register a template with the host application is to use the “Register template with host application” check box found on the last screen of the Project Template Wizard (ProjectGen). However, there are instances when a template needs to be more robust than the basic templates that can...
Overview: Part I described how to automate the DLL organization of a project. This section describes how to modify templates so that all projects based off of them automatically organize their DLL’s. The template may be created with ProjectGen, which is a tool included with Visual Studio 2005 Tools for...
Overview: Finding DLL’s programmatically can be challenging if they are not well organized. For VSTA integration several DLL’s may need to be found including add-in’s to load. In the ShapeApp samples included with the SDK, the add-in samples copy their DLL’s into the folders %MyDocuments%\%HostID%\AppAddins...
The host application must be registered before templates can be made or the IDE can be started through the host application. But what if after you register the app you need to make changes to the registries? How can you make changes under the HKEY_ LOCAL_MACHINE \SOFTWARE\Microsoft\VSTAHostConfig\<HostID>...
Introduction: TestCon is a good integration example to start with, especially if you are not an expert at Visual Studio. In the TestCon_QuickStart document, each procedure has step by step instructions on how to execute them in Visual Studio so there is very little chance of getting lost in the interface...