Solved

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

Posted on 2002-07-29
8
260 Views
Last Modified: 2006-11-17
I wish I can detect whether whether the ms-word application installed on client's pc through javascript?
0
Comment
Question by:yuan_hang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 2

Expert Comment

by:dech
ID: 7186951
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
 
LVL 2

Expert Comment

by:dech
ID: 7186956
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
 

Author Comment

by:yuan_hang
ID: 7187005
I already find a way by myself.
Anyway, thank you, dech!

Hang
0
Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

 
LVL 18

Expert Comment

by:bruno
ID: 7187090
don't leave this q open
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7189227
yaun

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

Computer101
E-E Moderator
0
 

Author Comment

by:yuan_hang
ID: 7189618
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
 
LVL 6

Accepted Solution

by:
Mindphaser earned 50 total points
ID: 7201861
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
LVL 2

Expert Comment

by:dech
ID: 7234831
oh ... vbscript

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

dech
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question