Hello Michael,
We’ve added some new samples to our downloads area.
Here is a link to a ‘testcon’ console application sample archive with doc included in the zip. The sample demonstrates an application with its winform UI layer contained in a VSTA Addin. Testcon shows a minimal, but full-featured integration. It is our simplest host app integration - a good place to start.
ftp://ftp.summsoft.com/private/28059.zip
Unzip the archive into a directory you have created below the root of your C drive to make things simple. The directory structure should look like this:
c:\vsta\summitsoftware\samples\testcon\...
A pre-created TestCon.EXE, TestCon.Proxy.Dll and VAO.dll are provided. Read the readme.txt for quick set-up instructions (of course the usual pre-reqs apply)
Once you have the sample working, you can demonstrate the functionality you described by specifying the /design command line switch.
Features of this sample:
- UI'less console manged host application
- Process-sync code to bring down VSTA when the process is killed (by closing the console window, Ctrl+Break, etc.)
- MessageFilter to handle blocking issues
- Seamless debugging experience
- Default project creation and loading
- VSTA integration completely separated into its own assembly
- Managed HostItemProvider/Adapter (if you require a COM adapter for your application, let me know)
- Full ShapeAppCSharpBasic application implementation in VSTA Add-in (minus VSTA :-)
The quickstart document that is included will guide you through the complete integration, starting from a blank solution.
As always, if you have further questions, don’t hesitate to contact us.
Regards,
Gary