Rajendran M

Rajendran M

  • NA
  • 11
  • 0

Calling Client Exe from asp.net

Sep 9 2014 7:48 AM
Hi Friends,
I have an exe file(Windows application) in my local machine. After deploy my asp.net application to windows server(IIS), how to execute my Local exe file from server?
 
I tried like following
 
var shell=new ActiveXObject("WScript.shell");
var res = shell.run("\\192.168.1.176" + "\\Scan\\MyScan.exe");
 
But is showing error "automation server can't create object".
 
I want to this to work in all browsers.
 
Please send me some sample code.
 
Regards,
Rajendran