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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe Reader Version Detection

Status
Not open for further replies.

LoveOpnSrc

Programmer
Feb 6, 2008
14
US
Hi,

I am trying to resolve an issue between versions 6 - 9. I need to detect what version is trying to open the PDF file. I was able to use this code, like this
Code:
strAdobeReaderVersion = Request.Cookies("ReaderVersion")
But all this tells me is version 7 or higher. Is it possible to be more specific? Since the release of 9 it has broken stuff :(

Thanks,
Jay
 
heres a javascript (untested) version of an IE check for adobe..


instead of alerting the version, you can write it to a textbox or hidden input and maybe do...

strAdobeReaderVersion = txtAdobeVersion.Text

in the javacript, change..

alert(acrobat.installed);
alert(acrobat.version);

to..

document.getElementById("myDotNetControlID").value = acrobat.version;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top