View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andrew Andrew is offline
external usenet poster
 
Posts: 358
Default Identifying version of Adobe Reader

Hi,

I have written some code that will open a pdf file using the following code:

Shell "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe " &
File_To_Open1, vbNormalFocus

This works fine if the user has the same version as me (5.0) but I found
that many users in this company have different versions.

Can I get the version from the Registry (and if so how)?

I also thought about looking at my directories and finding the Adobe folder
but thought this is an untidy method..

I got around this by capturing the error if 5.0 couldn't be found which
worked until I found a version 6.0 CE. I got around this but putting the
following code in:

If The_Ver = "6.0" Then The_Ver = "6.0 CE"

I don't want to keep having to create these get-arounds. Is there an easier
way???

I am also lead to believe you don't need to put the version in but I haven't
been able to get to work.

Any ideas?





--
Andrew