var oShell = new ActiveXObject("Shell.Application");
var commandtoRun = "C:\\Program Files\\ Send Fax.exe";
var commandParms = ODRef;
// Invoke the execute method.
oShell.ShellExecute(commandtoRun, commandParms,"", "open", "1");
Now I want to know the status of the exe. Because if the exe is already running I won’t like to open another exe, just I want to focus the running exe with new passing parameters.
Can any one help me how to do this task?
And I am able to doing this task only with I.E. not able to doing with other browsers like Firefox, Chrome.
Can any one help me how to over come this issue?
Thank You.Suresh K.