-
Summit Software is pleased to announce that Corel is now shipping VSTA in CorelDraw X5. CorelDraw is a versatile graphic design software that provides it all - vector illustration, page layout, photo editing, tracing, Web graphics and animation - in one tightly integrated suite. For more information...
-
Below are significant improvements to the IPH sample posted here through the use of global mutexes for cross-process synchronization. Question: What does the IPHTerminateOrphanedVSTA sample do? Answer: You may have noticed that the IDE process (vsta.exe) may be orphaned if the host application crashes...
-
ShapeAppBasicCSharpGenericCollectionIndexAdapter sample We’ll assume that you’ve looked over the previous sample from part 2 This sample will demonstrate how to pass a System.Collections.Generic.IList<ShapeAppCSharp. Document > instance, as a ‘by reference’ parameter, from...
Posted to
Gary Depue's VSTA Blog
by
Gary
on
01-26-2009
Filed under:
Filed under: Addin.Contract, Contract, Adapter, VSTA 2.0, ProxyResolve, AdapterResolve, System.AddIn, pipeline, System.AddIn.Pipeline.CollectionAdapters, ByRef, converters, RemoteObjectAdapters
-
ShapeAppBasicCSharpGenericCollectionAdapter sample This sample shows how to pass a System.Collections.Generic. IList <ShapeAppCSharp. Document > instance from the ShapeAppBasicCSharp host application to its add-in by extending the VSTA pipeline with adapters The list provided to the add-in is a...
-
The VSTA team provides an overview on how to hook custom adapters with VSTA pipeline here
-
On the third screen of ProjectGen there is an item to fill in titled “Host item name”. This item is used in two places in the project descriptor file and three places in projects based off the template: Project template descriptor file: Projects based off the template: Host Item Name Main code file Startup...
-
In Visual Basic, events can be declared explicitly or implicitly typed. When events are declared implicitly typed, Visual Basic creates a hidden type nested in the declaring type’s class. ProxyGen v 2 does not support nested types; however, the work around given in Part I for nested types in non-entry...
-
ProxyGen does not support nested types; however, with a little manual editing of the descriptor and proxy files nested types can be supported in the Proxy. There are three kinds of nested types that will be covered in this blog series (non-entry point, entry point , and i mplicitly declared events )...
-
ProxyGen outputs the Proxy and HostTypeMapProvider files in C#. For anyone interested in using a VB.Net HostTypeMapProvider, there is a HostTypeMapProvider in VB.Net download available to help with this. The download includes a template and macro. The template is a VB.Net version of the HostTypeMapProvider...
-
I created this macro in SDK sample Shapeappmacrorecordingcsharp and built it: public void Macro3() { this.Visible = false;//<=set break point here this.Visible = true; } 1 Launch the IDE (out of process) from ShapeApp 2 Set breakpoint at this.Visible = false; 3 'Start Debugging' the macro project...
-
MSDN Webcast: How to Integrate Visual Studio Tools for Applications 2.0 (Level 200) Event ID: 1032362710 Webcast: here Slides (with presenter's notes): here Demo Source: WPF Addin - here Integration Walkthrough - here
-
One of the most common questions we see when someone begins an integration is why can't System.Windows.Forms and objects derived from that class be exposed to add-ins. Our typical answer is that System.Winows.Forms is not serializable and only serializable objects can pass through (or be exposed through...
-
Based on the SDK and our testing of the CTP release version of ProxyGen v 2, here are our finding. For additional informatoin on ProxyGen v 2 CTP release please see our ProxyGen v 2 CTP Release Supplement . If there are other version 1 issues you would like addressed, please let me know (submit questions...
-
Overview: During development, changes may need to be made to the proxy. Anytime the proxy is changed its assembly needs to be re-installed in the GAC. Failing to do this will result in the last version installed in the GAC to be used by VSTA and the error "The following module was built either with optimizations...