1 try 2 { 3 wdApp = new ActiveXObject("Word.Application"); 4 } 5 catch(e) 6 { 7 alert("Microsoft Office Word is not installed. Please install and try again."); 8 return; 9 }
1 try 2 { 3 wdApp = new ActiveXObject("Word.Application"); 4 } 5 catch(e) 6 { 7 alert("Microsoft Office Word is not installed. Please install and try again."); 8 return; 9 }
转载于:https://www.cnblogs.com/aoun/p/4212404.html