Skip to main content
February 17, 2017
Pregunta

Get version of Adobe Acrobat by using Acrobat SDK

  • February 17, 2017
  • 2 respuestas
  • 740 visualizaciones

i'm developing VB.net Apps with Adobe SDK.

My app works well with Adobe DC/11.

But if the version of  Acrobat is 10 or older, I'd like not to support it (and also these are no longer supported by Adobe.)

So I'd like to know the way to detect the version of Adobe Acrobat installed.

I would appreciate it if you could tell me how to find the version of Adobe Acrobat installed.

Este tema ha sido cerrado para respuestas.

2 respuestas

Karl Heinz  Kremer
Community Expert
Community Expert
February 17, 2017

From VB you can use the JSObject to get information about the Acrobat type (Standard vs. Pro) and the version:

  

    Set jsObject = pdDoc.GetJSObject

    Dim msg As String

    msg = "Viewer Type: " & jsObject.app.viewerType & vbCrLf & _

            "Viewer Variation: " & jsObject.app.viewerVariation & vbCrLf & _

            "Viewer Version: " & jsObject.app.viewerVersion

    MsgBox (msg)

This assumes you have a valid AcroExch.PDDoc assigned to the variable pdDoc.

lrosenth
Adobe Employee
Adobe Employee
February 17, 2017

Use standard OS/VB calls to get an application’s version. You can also check the installation path