Simple C# Sample HelloWorld_VSTA2


posted by Melody
01-07-2009

Downloads: 840
File size: 355.1kB
Views: 3,806
Simple C# Sample HelloWorld_VSTA2
Filed under: , ,

This is a very simple "Hello World" style applicaiton written in C# with a basic VSTA v 2 integration.

 

From the READ ME.txt file:

To Use This Sample:
1)  Extract the zip file in C:\VSTA\Summit Software\Samples- if a different location is used the templates must be updated with the locatoin of HelloWorld_VSTA2.exe
2)  Run the included setup file
3)  Build the host- this will install the proxy in the GAC
4)  Build the sample add-ins
5)  Run the host- note "Hello:  From VSTA" appears from both sample add-ins


Basic Integration Steps using tools from Summsoft.com
1)  Compile host
2)  Create Proxy
        Run host through AutoProxyGen- input file included
        Specify EntryPont
        Create Proxy project (from project template) adding proxy file created with AutoProxyGen
3)  Register host
        Add registry entries- registration file included
        Run VSTA setup to complete registration
4)  Create ProjectTemplate with ProjectGen- input file included
5)  Modify host to discover and load add-ins
        Add VstaRunTimeIntegration from item template- update type and add-in location
        Add HostItemProvider from item template- update type
        Add HostTypeMapProvider created by AutoProxyGen               
       
For BasicIntegrations without using tools from Summsoft.com refer to the SDK

Copyright Summit Software Company, 2008. All rights reserved.