Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Metal_Detector@adobeforums.com #1
C#, App.Exit() is not closing Acrobat process.
In my C# Application, I am using Acrobat to merge PDFs.
private static CAcroApp mApp;
//Initialize Acrobat by creating App object
mApp = new AcroAppClass();
//Hide Acrobat
mApp.Hide();
//MERGE PDFs Here//
//Close Acrobat
mApp.CloseAllDocs();
mApp.Exit();
When I open up Task Manager, I can see Acrobat is still running and has the merged pdf open. Is this a known problem?
Metal_Detector@adobeforums.com Guest
-
Acrobat crashes when closing a document.
I have developed a simple Acrobat Addin, which adds a menu item and a toolbar button. The active document will be closed when this menu item or... -
closing and re-opening a document re-instantiates acrobat.
I must not be closing my files/documents correctly . When I try to close the current document and load another one using pdDoc =... -
Closing PDF document is not removing the process from task list
I am opening the pdf document in IE6. When I close the explorer, the document seems to be closed but the AcroRd32.exe still stays in the task list.... -
Acrobat shutdown/exit problem
When I'm browzing the web and clicking on links, some of them will automatically start loading Acrobat. If I try to stop it from loading, the... -
Opening & Closing Acrobat reader - An easier way?
at my workplace, we are developing a new website that will have all financial report requests published to the screen as a pdf. When these reports... -
Leonard_Rosenthol@adobeforums.com #2
Re: C#, App.Exit() is not closing Acrobat process.
I don't recall a "closeAllDocs" method...I would be sure to close down each document individually.
Also, depending on what version of Acrobat you are using, it may/will stay up as long as about 30-60 seconds after you ask it to close...
Leonard_Rosenthol@adobeforums.com Guest
-
Metal_Detector@adobeforums.com #3
Re: C#, App.Exit() is not closing Acrobat process.
I am using Acrobat 9 Pro and it doesn't close the process no matter how long I wait after calling mApp.Exit()... Any other ideas to why it isn't closing?
Metal_Detector@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: C#, App.Exit() is not closing Acrobat process.
Check that all documents closed properly...
Leonard_Rosenthol@adobeforums.com Guest
-
Metal_Detector@adobeforums.com #5
Re: C#, App.Exit() is not closing Acrobat process.
Thanks for your suggestions!
The problem is, I am using PD Layer to merge all the documents... I can remove all the mApp calls and it will still merge.. And I do close all the documents properly with no exceptions. With or without the mApp calls, the Acrobat process still exists in task manager.
Is there a way to close the Acrobat process through the PD Layer?
Metal_Detector@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #6
Re: C#, App.Exit() is not closing Acrobat process.
Nope. Only the app.Exit().
of course, you can always use standard Windows API calls...
Leonard_Rosenthol@adobeforums.com Guest
-
AxelArnoldBangert #7
Re: it needs a seperated thread - C#, App.Exit() is not closing Acrobat process.
Hi,
in my application the acroApp process is "somehow" bound to the calling process. So when I trigger the acroApp.exit() from my calling process nothing happens. But when I close after that the calling process this effects, that the acroApp process is shut down automatically after 16 seconds.
I guess, that we have to open the acroApp process in a new thread. After that it will be independant and we can shut it down since running forth the calling process.
Best regrads
Axel Arnold Bangert - Herzogenrath 2011AxelArnoldBangert Guest
-
Unregistered #8
Re: C#, App.Exit() is not closing Acrobat process.
Hi,
in my application the acroApp process is "somehow" bound to the calling process. So when I trigger the acroApp.exit() from my calling process nothing happens. But when I close after that the calling process this effects, that the acroApp process is shut down automatically after 16 seconds.
I guess, that we have to open the acroApp process in a new thread. After that it will be independant and we can shut it down since running forth the calling process.
Best regrads
Axel Arnold Bangert - Herzogenrath 2011Unregistered Guest



Reply With Quote

