xml4cn / np-activex

Automatically exported from code.google.com/p/np-activex
0 stars 0 forks source link

can't start MS ActiveX - WScript.Shell #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We can't start MS ActiveX control called WScript.Shell using javascript code 
below:

var shell = new ActiveXObject('WScript.Shell');
shell.run('excel.exe ".$readonly." /e /p \"c:\\Documents and Settings\" 
\"".$file_location_pg."\"', 1, false );

Log is not available (not created ?)for investigation of the problem.

Could you please help to understand what is wrong?

Thanks!
Ramil

Original issue reported on code.google.com by ramilm...@gmail.com on 14 Feb 2012 at 10:21

Attachments:

GoogleCodeExporter commented 9 years ago
You can open log by Ctrl+Shift+I, console on the webpage.

Original comment by qiu...@gmail.com on 25 Feb 2012 at 2:09

GoogleCodeExporter commented 9 years ago
Cause: method of run is not found.

Fixed in 1.4.0

Original comment by qiu...@gmail.com on 28 Feb 2012 at 1:42