Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Use standard OS/VB calls to get an application’s version. You can also check the installation path
Copy link to clipboard
Copied
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.