ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Plug-In Detection with JavaScript
Subject:   what about other plug-ins ? msWord etc?
Date:   2003-02-13 07:08:04
From:   anonymous2
Response to: what about other plug-ins ? msWord etc?

I've used the following objects:


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.


1 to 1 of 1
  1. what about other plug-ins ? msWord etc?
    2003-05-29 21:46:33  anonymous2 [View]

1 to 1 of 1