I wish to run a vbscript code when a Command button is clicked.
I dont wish to call the statement:
ShellExecute "vbsfile.vbs"
Is it possible through MS Scripting control?
Help me out.
Printable View
I wish to run a vbscript code when a Command button is clicked.
I dont wish to call the statement:
ShellExecute "vbsfile.vbs"
Is it possible through MS Scripting control?
Help me out.
Yeah you'd just have to load the contents of the file into the scripting control and tell it you're using VBScript.