This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Launch EXE from a method in ARAS

sachin_71032 - Monday, February 27, 2012 2:03 AM:

The requirement is to be able to launch a EXE from a method in ARAS (while providing command line arguments).

I have tried the code :

Client:

var MyObject = new ActiveXObject("WScript.Shell");
if(!MyObject)
{
    alert("MyObject  Not Created");
}
else
{
    MyObject.Run("
file:///C:/WindowsApplication1.exe"); 
}
return true;

Server C#

System.Diagnostics.Process.Start("C:WindowsApplication1.exe");
return this;

Neither of this works from aras. If you have any sample code which Runs EXE file from "Aras" will be helpful.