search for: someinputfil

Displaying 1 result from an estimated 1 matches for "someinputfil".

Did you mean: someinputfile
2008 Feb 04
2
Starting an exe from within the browser
...script language="javascript" type="text/javascript"> function OpenFile(cmd){ var x = new ActiveXObject("WScript.Shell"); x.run(cmd) } </script> and then call it with onClick="OpenFile(''C:\\projects\\some.exe c:\\projects\ \someinputfile.rpt'') This works if I just use a regular HTML file and call it. In Rails for testing I call it like this: <div> some content </div> <script type="text/javascript"> function OpenFile(){ alert("Starting ActiveX"); var x = new Activ...