Nov 18, 2008 by Melody
I posted a new sample today which goes with my previous blog. This sample demonstrates many of the host Application, hostID, proxy and entry point combiniations outlined in the Application, HostID, Proxy, and EntryPoint Associations blog. If there is...
Nov 17, 2008 by Melody
There are a variety of configurations possible between host applications, hostID's, proxies, and entry points. Which configuration to use is a design decision which requires careful consideration, especially if you are deploying multiple applications...
Nov 13, 2008 by Melody
You may wish to monitor a user’s actions in the IDE and respond to or cancel them. I found a great article and sample which shows how to catch any and all events. One common request that this could be used to address is responding to the user exiting...
Nov 13, 2008 by Melody
There is a somewhat confusing error that appears when running setup, if the registry entry VSTAVersion = 9.0 is not present. The error states “Cannot find one or more components. Please reinstall the application.” To correct this add the above...
Oct 24, 2008 by Melody
With VSTA v 2 it is possible to use generic parameters of intrinsic types with minimal effort. The example below demonstrates this with a method added to the ShapeApp.Application class which accepts a List<string>. Steps: 1) Create the proxy file...
Oct 22, 2008 by Gary
After ~5 minutes of idle time, VSTA macro projects are unable to debug and VSTA IDE displays a “Failed to write to an IPC Port: The pipe is being closed” or similar. Second attempt produces this error message “Requested Service not found”...
Oct 17, 2008 by Melody
In the proxy file, all types and non-static members in non-classEntryPoint types are marked with a host attribute. The host attributes HostTypeAttribute and HostMemberAttribute are used to reconcile name changes. When there is no name change the attribute...
Oct 10, 2008 by Melody
The MSDN site now includes documentation for VSTA v 2.0 . The documentation available through the MSDN site is an updated version of the documentation included with the SDK. Updates in the on-line documentation include sections on how to properly expose...
Oct 08, 2008 by Melody
There is a new sample up demonstrating generic event handling in entry point classes. Click here to download EventSample VB v2.1 – Exposing Generic Events in Entry Point Classes Excerpt from EventSample VB v2.1 EventHandlerT in EntryPoint Classes...
Oct 01, 2008 by Melody
We have new downloads up including templates and a new tool AutoProxyGen which automates ProxyGen and can be used in build events. AutoProxyGen : This tool automates the process of using ProxyGen and can be used as a build event. AutoProxyGen includes...