var sPath = ProChild.GetProperty("File Location");
var sMacro = ProChild.GetProperty("Excel Macro To Run");
//activeXObject を使用せずに次のコードを変更したい
if(sMacro != null && sMacro ==""){
var oShell = new ActiveXObject("WScript.Shell");
oShell.Run(sPath);
理解を深めるための新しいコード
function OpenFile(){
alert ('Work');
//would like to modify ActiveXObject with any other object for cross-browser.
var x = new ActiveXObject("WScript.Shell");
x.run('winword.exe');
}
//Above code works only in IE. But don't want to use activeXObject.
//Is there any possibility to open a word file in Internet Explorer
//without using activexobject. Request for a solution.