Results 1 to 9 of 9

Thread: How to find Acrobat and Java version [RESOLVED]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    Resolved 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.
    Last edited by bat711; Jun 9th, 2005 at 04:18 PM.
    CodeBank: Launch IE

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    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


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    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


    Has someone helped you? Then you can Rate their helpful post.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    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.)
    CodeBank: Launch IE

  5. #5
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    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?


    Has someone helped you? Then you can Rate their helpful post.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    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
    CodeBank: Launch IE

  7. #7
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    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
    My Blog.

    Ryan Jones.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    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.
    Last edited by bat711; Jun 9th, 2005 at 04:17 PM.
    CodeBank: Launch IE

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    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.
    CodeBank: Launch IE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width