quote:
Originally posted by vikke
A simple function:
code:
function ExecuteFile(Name)
{
var objShell = new ActiveXObject("Shell.Application");
objShell.Run(MsgPlus.ScriptFilesPath + "\\" + Name + ".exe");
}
How to start LED_on.exe:
code:
ExecuteFile("LED_on");
Some problem, I copied your source, but don't working!
Error code: -2146827850