判断ActiveX组件是否已安装

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         }

 

你可能感兴趣的:(ActiveX)