| Article: |
Plug-In Detection with JavaScript | |
| Subject: | what about other plug-ins ? msWord etc? | |
| Date: | 2003-02-05 17:23:28 | |
| From: | bnreyal | |
|
Response to: Detecting Acrobat Reader & others
|
||
| does anybody know where can i find the names of other plugins or viewers like msWord etc. | ||
Showing messages 1 through 2 of 2.
-
what about other plug-ins ? msWord etc?
2003-02-13 07:08:04 anonymous2 [Reply | View]
-
what about other plug-ins ? msWord etc?
2003-05-29 21:46:33 anonymous2 [Reply | View]
Why is navigator.plugins still empty in IE 6.0?
var objWord = new ActiveXObject("Word.Application"); always give the message
"An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"
which is really a irritating to a user...it would be nice to have some other workaround...





Scripting.FileSystemObject
Outlook.Application
Word.Application
Excel.Application
Remember that Javascript now has try...catch() syntax which I've successfully used to degrade gracefully if creating one of these objects fails (because it isn't installed/isn't working properly etc).
Also remember to quit word [objWord.Quit()] on the onUnload event of the page, otherwise you'll build up quite a little collection of WINWOD.EXE processes... these WILL eventually crash your computer ;-)
Good luck.