Skip to main content
Participant
Sep 23, 2020 6:58 AM UTC
Question

C#.net opened app before close event

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Legend
Sep 23, 2020 7:51 AM UTC

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

Translate
Dirar0D44Author
Participant
Sep 26, 2020 6:52 AM UTC

Thanks

Translate