advertisement

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.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • what about other plug-ins ? msWord etc?
    2003-02-13 07:08:04  anonymous2 [Reply | View]

    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.