How to add Vbsedit Embedded to your C# application?


1. In Solution Explorer, right-click your project node and click Add Reference.

2. In the Add Reference dialog box, select the COM tab and then choose VbseditEmbeddedLib.

3. Add the following lines at the beginning of your code:

using System.Runtime.InteropServices;
using VbseditEmbeddedLib;



4. Add the following lines of code to start Vbsedit Embedded:

VbseditEmbeddedClass vbsedit = new VbseditEmbeddedClass();
vbsedit.SetMacroCode("Macro1", "");
vbsedit.EditMacro("Macro1");



To add Intellisense for your objects

1. Open the project's Properties page.
2. Click the Build tab.
3. Modify the XML documentation file property.
4. Add your object:

string myxml = "c:\myprojects\WindowsFormsApplication1\bin\debug\WindowsFormsApplication1.xml";
myxml += "?WindowsFormsApplication1.Form1";
vbsedit.AddObject("Form",this,myxml);




Download source code






Download Vbsedit Embedded



This package includes VbsEdit Embedded 32-bit and VbsEdit Embedded 64-bit

Home 

Copyright © 2001-2017 Adersoft