ShapeAppVB VSTA2 Visual Studio 2005


posted by Melody
01-29-2008

Downloads: 133
File size: 1.3MB
Views: 344
ShapeAppVB VSTA2 Visual Studio 2005

This is a rough draft.  There will be a better samples for this soon (including dpm).

ShapeAppBasicVB:
There is very brief documentation in the Walkthrough.txt that is included as a solution item.  In general, just follow the steps from the ShapeApp walkthroughs and use this sample to see the VB syntax.  The only major change is that for Visual Studio 2005 a macro needs to be run on the proxy becuase it relies on some new C# syntax included in Visual Studio 2008.  The macro is included as a solution item, just copy and paste so that it is run when your temporary macro is run.  Only run this macro with the proxy.cs file selected as the active document.  If you do not have the SP1 for VS05 you may not be able to run macros.

Included in this sample is a registration file for the hives, but you'll still need to run setup (careful with command lines!  make sure you manually change your directory to those shown in the walkthrough.txt).  I also included a tmeplate and sample add-in.  I was able to load the sample add-in.

ShapeAppAdvancedVB:
There is very brief documentation in the READ ME.txt that is included as a solution item.  To integrate the IDE, follow the steps from the ShapeApp walkthroughs and use this sample to see the VB syntax.  The macro recording and management code is adapted from the ShapeAppMacroRecordingCSharp sample.  There is a registration file and commands for setup included.


If you have any questions or a special request please don't hesitate to ask.  We're here to help.

Comments

pirqaiser wrote re: ShapeAppVB VSTA2 Visual Studio 2005
on 10-27-2008 12:43 PM
Hi Melody, I trid to run the project. Everything seemed to be working ok except when I tried to stop the recording of macro, I got an error, saying that the template file does not exist on the specified folder. I tried my best to fix this issue. Confirmed the template file path from registry, made sure that the relevant template path exists in the correct folder but to no avail. The error is raised in CreateNewMacroProject procedure on the 2nd line where the program tries to get the macro template path name through sol.GetProjectTemplate. I am not sure whether or not I am missing anything? Please suggest.
pirqaiser wrote re: ShapeAppVB VSTA2 Visual Studio 2005
on 10-27-2008 12:50 PM
PS: the error message is "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"
Copyright Summit Software Company, 2008. All rights reserved.