tags:

views:

30

answers:

2

The script is used to enable or disable LAN. I would like to run it from a VB application by integrating it. Could someone help please?

A: 

VBScript is (almost) a subset of VB.

You can copy your VBScript code directly into the VB source.

If you have any trouble, please ask a specific question.

SLaks
A: 

Try this, assuming VB6 since you didn't tag it as VB.NET

Dim wsh
wsh = CreateObject("WScript.Shell")
wsh.run("C:\Scripts\test.vbs", 1, 0)
LesterDove