Solved

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

Posted on 2002-07-29
8
259 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
URGENT - Wordpress site missing  theme 9 68
CSS: How do I override in-line styling 11 29
How to build a web site 17 53
Political Map of Europe - Wikipedia? 4 24
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

749 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