?
Solved

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

Posted on 2002-07-29
8
Medium Priority
?
261 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
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 
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 200 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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

765 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