How can javascript detect whether the ms-word application installed?

I wish I can detect whether whether the ms-word application installed on client's pc through javascript?
yuan_hangAsked:
Who is Participating?
 
MindphaserConnect With a Mentor Commented:
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
dechCommented:
From what I understand ... this isnt possible. And anyways ... much better to simply point out to the user that ms_word is needed.

Dech
0
 
dechCommented:
P.S. if your offering a document ... just make it into different formats and allow the user to choice the best view for them.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
yuan_hangAuthor Commented:
I already find a way by myself.
Anyway, thank you, dech!

Hang
0
 
brunoCommented:
don't leave this q open
0
 
Computer101Commented:
yaun

Please post the solution.  After that, I will delete or PAQ this question

Computer101
E-E Moderator
0
 
yuan_hangAuthor Commented:
my solution is:

<script language="vbscript">
<!--
on error resume next
set oWordApp = CreateObject("Word.Application")
bWordFound = (NOT IsNull(oWordApp))
on error goto 0
if (bWordFound) then
     oWordApp.Quit
     set oWordApp = nothing
else
        msgbox "MS-Word not installed."
end if
//-->
</SCRIPT>
0
 
dechCommented:
oh ... vbscript

I was being narrow minded and kept thinking javascript ... oops

dech
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.