Solved

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

Posted on 2002-07-29
8
258 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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 is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

856 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