How to check if acrobat is installed in .NET

New Here ,
Aug 14, 2019

Copy link to clipboard

Copied

I have a program I am writing that has parts that interact with acrobat.  When a user that does not have acrobat is running the program on their machine it crashes when they try to access a form that imports the acrobat libraries.  Is there a way to check for acrobat and display a message to the user if they do not have acrobat?

TOPICS
Acrobat SDK and JavaScript

Views

100

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to check if acrobat is installed in .NET

New Here ,
Aug 14, 2019

Copy link to clipboard

Copied

I have a program I am writing that has parts that interact with acrobat.  When a user that does not have acrobat is running the program on their machine it crashes when they try to access a form that imports the acrobat libraries.  Is there a way to check for acrobat and display a message to the user if they do not have acrobat?

TOPICS
Acrobat SDK and JavaScript

Views

101

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 14, 2019 0
Most Valuable Participant ,
Aug 14, 2019

Copy link to clipboard

Copied

It should be possible to detect and recover from failures in .NET, in the way try ... catch is used in JavaScript. Don't know the details.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2019 0
BarlaeDC LATEST
Adobe Community Professional ,
Aug 15, 2019

Copy link to clipboard

Copied

Hi,

Pretty sure they have a try...catch almost exactly the same as JavaScript.

Regards

Malcolm

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 15, 2019 0