• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Acrobate.exe not getting close (Killed)

New Here ,
Aug 16, 2021 Aug 16, 2021

Copy link to clipboard

Copied

Acrobat.exe not getting closed/ killed even after quitting the application.

Please find the code snippet below.

Public Sub Close()
Try
AcroPDFObj.gPDDOC.Close()
AcroPDFObj.gAVDOC.Close(False)
If Not AcroPDFObj.gApp Is Nothing Then
AcroPDFObj.gApp.Exit()
End If Catch ex As Exception
End Try
AcroPDFObj.gAVDOC = Nothing
AcroPDFObj.gPDDOC = Nothing
AcroPDFObj.gApp = Nothing
AcroPDFObj = Nothing

GC.Collect()
GC.WaitForPendingFinalizers()
End Sub

Please suggest what else needs to write to get Acrobat Process killed from task manager.

TOPICS
Acrobat SDK and JavaScript

Views

56

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
community guidelines
Community Expert ,
Aug 20, 2021 Aug 20, 2021

Copy link to clipboard

Copied

Hi ,

 

I don't think there is anything else you can do from an Acrobat point of view, although I have noticed in the past that the Exit(); command is more of a can you exit if you are not doing anything else please. It may be that you can use something else to actually kill Acrobat, but if you user actually has Acrobat open for a reason then this would probably not go down well with 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
community guidelines
New Here ,
Aug 26, 2021 Aug 26, 2021

Copy link to clipboard

Copied

Hi,

I'm ready with killing Acrobat.exe, but i have multiple application running which are using acrobat.exe, so directly killing process won't help.

As acrobat works on  single thread, it have only one process for acrobat running at a given instance on time.

Is there any way to have diffrent processid for each acrobat instance

 

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
community guidelines
Community Expert ,
Aug 26, 2021 Aug 26, 2021

Copy link to clipboard

Copied

LATEST

Hi,

 

These used to work for Acrobat too, although they are not supported and may not work as expected, and I don't have a windows machine so I can't test them, but here you go:

https://stackoverflow.com/questions/619158/adobe-reader-command-line-reference

 

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
community guidelines