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
2010-05-16 17:43:47
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
2010-05-16 17:49:56