Browse by Tags

All Tags » VSTA » add-in
  • ComClient easy integration crash at shutdown

    HelloI am new to VSTA and have downloaded the 'COMClient easy integration - using generic COMProxy and VAO' sample and am trying it out. Wow it takes a lot of complicated setup just to get VSTA and the sample running. I must admit that my knowledge of managed code is rather limited, that is why I am using the sample, and concentrating on the COM ...
    Posted to VSTA Tech Discussions (Forum) by kab on July 8, 2008
  • VSTA and LINQ to XML with Excel

    VSTA 2 can be used to extend a host application to use LINQ in a variety of ways.  One example of this is to use LINQ to XML to use an XML file as input.  LINQ to XML is doubly convenient because Office products, such as Excel 2007, work well with XML files. Using LINQ to XML to input data that was created or manipulated in an ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on April 15, 2008
  • Error "xxx.rem has been disconnected or does not exist at the server"

    When an add-in does not communicate with the host for 5 minutes or longer, then attempts to communicate again the error ''xxx.rem has been disconnected or does not exist at the server'' occurs.  This happens both during debugging and at run time and is due to unwanted garbage collection.   This is a bug outside of VSTA and will be ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on April 2, 2008
  • Post Build Events in VSTA

    Post build events are very important in VSTA (versions 1 and 2).  They are used to install files in the GAC, organize DLL's for add-in discovery, and in VSTA v 2, to rebuild the pipeline.  Here are the files used in post build events by the ShapeApp samples, the commands which run them, and some information about them. File:  ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on February 19, 2008
  • Project Templates: ProjectGen and "Unregistering" templates

    To remove or ''unregister'' project templates: The easiest way to remove or ''unregister'' project templates which are registered with a host is to use the vsta and devenv setup commands.  These commands get the VSTA project templates location and the Visual Studio project templates locations specified in the VSTAHostConfig ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on February 7, 2008
  • Moving and Organizing DLL’s to Make VSTA Integration Easier. Part I- Projects

    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 and ...
    Posted to Melody's VSTA Blog (Weblog) by Melody on July 2, 2007