How to find Acrobat and Java version [RESOLVED]
Just as title says I need to find the version info for both of them to determine if users need to upgrade before using a system.
I checked the registry settings didn't see any keys with version values in them. For Acrobat some of the keys were named the version but I'm not sure if it's possible to get that.
Re: How to find Acrobat and Java version
How about this registry path for Java?
HKEY_CURRENT_USER\Software\JavaSoft\Java Runtime Environment\1.4.2_05
Re: How to find Acrobat and Java version
And for Acrobat, have a look at the 7th post here : http://www.vbforums.com/showthread.php?t=265108 :)
Re: How to find Acrobat and Java version
Thanks for the Java key location, the only one I was coming up with was the Java VM on my machine.
For the Acrobat part I was looking at that thread...I guess the only way to get the actual version number is to manipulate the string to get at the 5.0 or 6.0 or whatever it may be.
That way looks like it won't really help me because it would just tell me if Acrobat was associated with .PDF (or Reader, etc.)
Re: How to find Acrobat and Java version
Quote:
Originally Posted by bat711
Thanks for the Java key location, the only one I was coming up with was the Java VM on my machine.
For the Acrobat part I was looking at that thread...I guess the only way to get the actual version number is to manipulate the string to get at the 5.0 or 6.0 or whatever it may be.
That way looks like it won't really help me because it would just tell me if Acrobat was associated with .PDF (or Reader, etc.)
Now that you mention it... You're right, it will find the associated app with pdf files... If you get the exe, could you get the file version and see the version of acrobat?
Re: How to find Acrobat and Java version
Good idea, the version # is listed in the .EXE, now I need to figure out how to get at it.
Thanks
Re: How to find Acrobat and Java version
Quote:
Originally Posted by bat711
Good idea, the version # is listed in the .EXE, now I need to figure out how to get at it.
Thanks
You could try the GetFileVersionInfo API call :)
Cheers,
RyanJ
Re: How to find Acrobat and Java version
Yeah, just found this while searching as well,
*EDIT - Link deleted* Someone gave a bad answer it was for OS version info
Anyways, GetFileVersion looks like it'll solve my problem
Thanks all.
Re: How to find Acrobat and Java version [RESOLVED]
Just an update I found a registry location for Adobe Acrobat that contains just the version so you don't have to write code to parse out a string to get the version number.
HKLM\SOFTWARE\Classes\AcroExch.Document\AcrobatVersion
Hopefully this helps someone else out as well.