These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Find the Vesrion of Acrobat installed

progna
Registered: Aug 18 2008
Posts: 10

How can I through VB code get to know the version of Acrobat installed on my PC. It can be Acobat Reade, Standard or Professional. I just want to know if Acrobat is installed. If yes, then what is the vesion. Any help will be highly appreciated. The code should be in Visual Basic please...

Thanks for your help and support
Progna

My Product Information:
Reader 8.0, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Lori Defurio has a tip for doing this (in Javascript) at:
http://partners.adobe.com/public/developer/en/tips/lc_viewer_version.pdf

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

progna
Registered: Aug 18 2008
Posts: 10
Thanks for the tip. It was really nice of you. However, I want the code in Visual basic, since the application is a stand alone applicationa and not a web application.
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
The connection between Javascript and Visual Basic is the JSObject object. The objects, properties, and methods for the Acrobat extensions for JavaScript can be accessed through Microsoft Visual Basic. See the [url=http://www.adobe.com/devnet/acrobat/pdfs/iac_api_reference.pdf]Interapplication Communication API Reference[/url] for details.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
The problem with IAC for this is it doesn't work with Reader, and it obviously doesn't work if no Adobe PDF viewer is installed.

I think this is a more complex task than it might seem. Some approaches that folks have taken include scanning the Windows registry for various entries and programmatically launching (e.g., ShellExecute) a PDF and seeing what happens. I'm sure you'll find more information with a Google search.

George
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Scanning the registry can be very difficult because there is no single location to help determine the version.

Are you trying to determine what version of Acrobat/Reader is installed on a system or once a PDF has been opened?

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.