1.

Solve : VBScript?

Answer»

I think this is in the right section. I used VBScritp before and I was wondering if there is any way to make it so if you hit a BUTTON it can open a batch file or another program?VBScript can run an external APPLICATION through the Script Shell OBJECT:

Code: [Select]Set WshShell = CreateObject("Wscript.Shell")
WshShell.Run(Run COMMAND, Windows STYLE, WaitOnReturn)

Example:

WshShell.Run "C:\Ad-Aware\Ad-Aware.exe",,True

Tying the button to the script is determined by where the button is.

Need more info.



Discussion

No Comment Found