Download of Adobe Acrobat Reader

Posted on 2003-12-05
Last Modified: 2013-12-16
We're putting some pdf file links in our webpage. Opening the PDF file is ok for those who have Adobe Acrobat Reader installed. But when a user, does not have it, they wanted to be prompted to install the reader.

Can anyone please show me an example on how to detect of Adobe Acrobat Reader is installed in a client machine? And if not, direct them to install Adobe Acrobat Reader?

Please help.  Thanks!
Question by:SherylSt
LVL 33

Expert Comment

ID: 9882775
LVL 11

Expert Comment

ID: 9882786
It's not an easy thing to do, but here's a link how to do it in javascript

Author Comment

ID: 9882792
We're using IE... IS ther an example for IE please... Thanks.

Expert Comment

ID: 9882807
I ran into this a while back but never got to test it:

<SCRIPT LANGUAGE="Javascript">
// detection for Netscape
var useAcrobat = navigator.mimeTypes &&
   on error resume next
   useAcrobat = not IsNull(CreateObject("AcroExch.Document"))
   '                can be CreateObject("PDF.PdfCtrl.1") too!

   if (useAcrobat)
      document.write("Acrobat reader ok");
      document.write("Acrobat reader not found");
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


Accepted Solution

DeCojutepeque earned 500 total points
ID: 9882972
Well, I just tested it and works both in IE6 and NS 7.1


Author Comment

ID: 9896861
Thanks, DeCojutepeque...

I tried your code, it gave me blank page after running the script...

Author Comment

ID: 9896927
i tried it again... it worked this time.. i mean it returned a 'Acrobat reader not found'.
BUT I already intalled Acrobat reader in my machine.. why is it not detecting it?
please help...

Expert Comment

ID: 11771937
useAcrobat = not IsNull(CreateObject("AcroExch.Document"))
   '                can be CreateObject("PDF.PdfCtrl.1") too!

is working for me just i have to iterate through 1 to 6 beacuse it will create object for particular version of acrobate and to check for version 1 to 6 i am iterating through 1 to 6 and its works.
for acrobate reader 6 its return true for PDF.pdfCtrl.6
for acrobate reader 5 its return true for PDF.pdfCtrl.5
Thanks Decojutepeque

Expert Comment

ID: 12062549
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    Accept: DeCojutepeque {http:#9882972}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Classic ASP - SQL Server connection problem 5 60
Query to get the soonest date out of a few records 2 39
Summernote required 3 95
Microsoft SQL ADO Conn Issue 6 37
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

948 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

21 Experts available now in Live!

Get 1:1 Help Now