Highlighted

C#.net opened app before close event

New Here ,
Sep 22, 2020

Copy link to clipboard

Copied

I wrote a winform app that opens a pdf file using Acrobak SDK. basicly this is my app:

 

mApp = new AcroAppClass();
avDoc = new AcroAVDocClass();

String sourceFileStr = @"sample.pdf";

avDoc.Open(sourceFileStr, "");
pdDoc = (CAcroPDDoc)avDoc.GetPDDoc();

mApp.Show();

 

I am trying to catch the event before closing the opened application window or even after close. I couldn't find a way to to so. Any hints please?

TOPICS
Acrobat SDK and JavaScript

Views

60

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

C#.net opened app before close event

New Here ,
Sep 22, 2020

Copy link to clipboard

Copied

I wrote a winform app that opens a pdf file using Acrobak SDK. basicly this is my app:

 

mApp = new AcroAppClass();
avDoc = new AcroAVDocClass();

String sourceFileStr = @"sample.pdf";

avDoc.Open(sourceFileStr, "");
pdDoc = (CAcroPDDoc)avDoc.GetPDDoc();

mApp.Show();

 

I am trying to catch the event before closing the opened application window or even after close. I couldn't find a way to to so. Any hints please?

TOPICS
Acrobat SDK and JavaScript

Views

61

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
Sep 22, 2020 0
Most Valuable Participant ,
Sep 23, 2020

Copy link to clipboard

Copied

There are no events for COM programming in Acrobat. You would need to write a C++ plug-in for them.

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...
Sep 23, 2020 0
New Here ,
Sep 25, 2020

Copy link to clipboard

Copied

Thanks

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...
Sep 25, 2020 0