Solved

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

Posted on 2002-07-29
8
256 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
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
 
LVL 18

Expert Comment

by:bruno
ID: 7187090
don't leave this q open
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Injected data? 8 112
comparing strings that contain line breaks 18 53
How search webpage "viewable text" only 1 63
Not seen Link button 5 15
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now