Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check if adobe reader is on the client ?

Status
Not open for further replies.

raghu3

Programmer
Dec 19, 2005
96
US
This sounds pretty straight.
How can I detect if the client has adobe reader using javascipt ?

Thanks
 
You can't without possibly using some ActiveX control, which the user would have to approve being installed and running.

Lee
 
Fair enough.
If Adobe is not installed on the client, how will the server know that the PDF is not displayed. I have IIS, classis ASP in this case.

Here is the piece of code:

<form name="p" action="some.asp" method="post">

<%=embedSrc%>

<input type=button>
.
.
</form>

where embedSrc is:
<embed height=600 width=900 src="myPdf.pdf"></embed>

The src is taken from a db,


 
Check this thread out: "Linking to .PDF files", thread215-1143857

It gives a link to the following page:


Which shows how to do this using JS.

BTW - I found this by using the search feature - something you could probably have done for yourself.

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thanks BillyRayPreacersSon.
Appreciate your help,
 
Let me rephrase:
cannot have activeX in client side vbscript.
So can use only the 1st part of the code in dithered.com.
as activeX may be disabled/not allowed ...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top