How to add Vbsedit Embedded to your VB6 application?


1. Select "New Project" from the File menu and choose "Standard EXE".

2. Select References from the Project Menu.

3. In the References dialog box, check VbseditEmbeddedLib and click OK.

4. Add a button to your Form, double-click the button, and enter the following code:

Dim vbsedit As New VbseditEmbeddedClass

Private Sub Command1_Click()

    vbsedit.AddObject "myForm", Me, "C:\Program Files\Microsoft Visual Studio\VB98\VB6.OLB?Form"
    vbsedit.SetMacroCode "Macro1", "Msgbox myForm.ScaleWidth"
    vbsedit.EditMacro ""
   
End Sub



5. Press F5 key and click the button in the form.






Download Vbsedit Embedded



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

Home 

Copyright © 2001-2024 adersοft