How to close Acrobat.exe from the task manager processes through plug-in?

I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click custom menu say 'Close Key' then annot remains visible on the PDF.
My problem is if in such a case i.e. the user has defined a key & if the user does not hit 'Close Key' and instead closes Acrobat by directly hitting close (i.e. [X] button at top right corner), then Acrobat exits; but the Acrobat.exe remains running in the Processes.
If the user tries to open the same PDF again then a message pops up saying 'Cannot open file for viewing as its already in use...'.
Note that any other PDF gets opened fine.
Could somebody help me in giving me any ideas/suggestions on this? I want to exit the acrobat.exe from the processes so that the same PDF could get opened. As described above, the cause is the key (annot) was opened and user abrubtly exited Acrobat. Is there a way, that we could catch this Acrobat exit event in the plug-in? That way, I'd be able to clear off the annot (key) and then close acrobat.
Please let me know asap.

Hey, tnx for ur response! But, the issue is reproducible on Acrobat 7.0 Professional.
I do have the 'WillClose' event registered in my plug-in. Below is the event that is wired up with 'WillClose' event:-
static 
ACCB1 void ACCB2 NotifyAVWillClose (AVDoc doc, void *clientData){
UNREFERENCED_PARAMETER(clientData);
UNREFERENCED_PARAMETER(doc);
CloseTemplate(TRUE);
The 'CloseTemplate' method performs the closing of the annotation, clearing of objects and deleting the PDFfile class pointer.
And this all works fine with Acrobat.exe getting closed from the task manager processes in acrobat versions 8 & 9. However, in Acrobat 7.0, the process remains in the Task Manager.
Could you suggest any ideas on what else needs to be implemented to end the process in Acrobat 7?
Thanks!

Similar Messages

  • HI! I am using iTunes with Windows 7 64bit.after upgrading itunes  to 10.5.2.11 it opens only once. If i close it, then it will not open again.the only way to open itunes is by disabling the APSDaemon.exe from the task manager.please help!

    HI! I am using iTunes with Windows 7 64bit.after upgrading itunes  to 10.5.2.11 it opens only once. If i close it, then it will not open again.the only way to open itunes is by disabling the APSDaemon.exe from the task manager.please help!

    Refer this article to reset Winsock to it's default.  Your PCTools may have inserted LSP.
    http://support.apple.com/kb/TS4123?viewlocale=en_US
    After reset and restarting windows, you may get a prompt to remap LSP, click no.

  • How to increment predecessors sequentially from the tasks (200 to 215) for the tasks at 300 to 315

    Hi Experts
    How to increment the predecessors sequentially from the tasks (200 to 215) for the tasks at 300 to 315.
    I am doing a work around.
    1. Using project I select tasks 201 to 216 and link it to get the predecessors, which I copy and paste at the task 300 and unlink and delete the predecessors from 201 to 216.
    2. create sequential list from 200 to 215 in spreadsheet (excel) and copy at task 300.
    Is there any better way ..
    Thanks a lot
    Protocoder

    If you have the list arranged properly, you can do this.
    Say you have a list of tasks 201 - 216 inclusive, and they are the predecessors of tasks 301 - 316 inclusive.
    Display the ID column, copy the ID numbers 201 - 216, then paste the list into the predecessors of 301 - 316.
    If you have tasks 201 - 216 and they are all predecessors of 217 (because 217 is a finish  milestone), you can type in all of the predecessors 201,202,203,...216. However, it is easier to copy the ID numbers from the ID column, paste them into MS WORD,
    display the hidden characters to show the paragraph marks, then use replace to replace the paragraph marks with commas, then copy the list and paste back into MSP in the predecessor cell of task 217.
    There are many tricks like this to avoid typing.
    Another useful trick is to use concatenation in EXCEL to construct text strings and paste back to MSP.

  • Firefox hangs on a website won't allow me to select links within the website. when i restart firefox it won't open. i have to end the process from the task manager

    when i visit a site called clubforeplay.com it won't let me view any of my friends profiles. when i try to navigate away firefox does not respond. when i close out of firefox and try to reopen it. i get nothing. i have to physically go into the task manager and end the firefox.exe process manually before i can go back. i have tried to uninstall and then reinstall firefox with no luck. it is starting to affect my firefox in different websites

    i'm using firefox 3.6.13 and windows XP home SP3. when i visit zynga poker at facebook.com it turn slowly to open the application. when i try to navigate away, firefox does not respond. when i close the firefox and try to reopen it, i get nothing. i have to physically go into the task manager and end the firefox.exe process manually before i can go back. i have tried to uninstall and then reinstall firefox, but it didn't work, i tried also to sending the crash report from crashreporter.exe, the warning box said: "This application is run after a crash to report the problem to the application vendor. It should not be run directly", what should i do?

  • After I've heard an audiobook downloaded from the public library, how do I delete it from the Shuffle?  When I plug it into my computer, I get a screen showing how much space is left on the Shuffle but no list of files that I can delete.  WRA

    After I've heard an audiobook downloaded from the public library, how do I delete it from the Shuffle to make room for other audiobooks?  When I plug it into my computer, I get a screen showing how much space is left on the Shuffle but no list of files that I can delete.  These books, incidentally do not appear in the ITunes screen.  WRA

    Select the iPod shuffle in the iTunes sidebar (under DEVICES).  If this is a current 4th (or 3rd) gen iPod shuffle, you should be able to see the contents of the shuffle by type, intented under the shuffle's name (still in the sidebar).  Select Music or Audiobooks (not sure where those items from the library will be listed).  The items will be listed to the right, for each category.  Find the items, select, and delete.
    It's on page 20 of the manual
    http://manuals.info.apple.com/en_US/iPod_shuffle_4thgen_User_Guide.pdf
    NOTE:  If this is an 1st or 2nd gen iPod shuffle, select the iPod shuffle in the iTunes sidebar (under DEVICES).  Over to the right, go to the Contents tab, where the items are listed.  Select and delete them from this list.
    I find it more convenient to make a playlist in iTunes with things I want to put on the shuffle.  I then set up automatic syncing (or use autofill) to have iTunes load the shuffle from that playlist, automatically.

  • Catch the process terminate from the task manager

    Is there a way to catch the event of terminating the application from the the
    processes tab in task manager?
    I have created desktop app, and if a user termintates the app in the task
    manager, I'd like to be notified. I tried windowclosing in windowlistner, but nothing seems to be
    working for an improper shutdown of application.
    Thanks in advance

    Have you tried adding a shutdown hook? There alot of subtleties to a shutdown hook. You can read the documentation for
    Runtime.addShutdownHook(Thread hook)

  • Firefox won't start, no error message, firefox.exe showing in Task Manager Processes

    Firefox (v3.6.6 on Windows Vista) will not open. When the icon is clicked, the hourglass shows for a few seconds, goes away, and nothing else happens. There are no error messages. 'firefox.exe' shows on the Task Managers Processes tab. I also cannot open Firefox in SafeMode or with the ProfileManager.
    I have tried restarting the computer, uninstalling and reinstalling firefox, deleting my firefox profile. I have tried all of these things multiple times in different orders with no results.
    Please Help!
    == This happened ==
    Every time Firefox opened
    == Yesterday ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8)

    dmcritchie, thank you for your reply!
    Before I received your response, I tried something that seems to have worked. I used Chrome to go to the Firefox website and downloaded Firefox (without uninstalling it first) and went through the installation process again. For some reason, this worked, even though I already had the latest version of Firefox, and I can now open Firefox successfully.
    If it stops working again, I will try your suggestion. In the meantime, thank you much!

  • When I enter the website, Firefox stops responding and I have to end the process from the Task Manager. How do I solve this problem?

    I am running Firefox 4.0 beta 7 on Windows XP Tablet Edition OS. When I enter this site using Firefox, the browser stops responding and I have to end the process using Task Manager. However, when I open it with other browsers such as IE8, I am able to view the site as per normal. This only happened when I updated my browser to Beta 7 and I did not have such problems in the previous betas.

    There is [[Flash]] content on that page.
    Do you have a problem with Flash on other websites?
    Create a new profile as a test to check if your current profile is causing the problems.
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Many times the only way i can close firefox is with the task manager

    Much of the time after exiting firefox and later try to restart it will not and i have to close it with task manager and then it will restart

    Hello.
    Hopefully this support article is what you need:
    http://support.mozilla.com/en-US/kb/Firefox+hangs
    In any case, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem is not disappears when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.

  • Firefox won't start. The program is running in the task manager processes, but the application won't open. I have restarted the computer, uninstalled and reinstalled, now I am lost!!!

    I have a Dell Inspiron 530 desktop running Windows Vista Home edition. Firefox was working properly just as it has for years. All of a sudden when you click on the icon, nothing appears. I open task manager, no applications show. I go to processes, there is firefox32. I kill the process and start over...endless loop. I shut the computer down and restarted. Same issue. I uninstalled firefox and reinstalled, same issue. I idon't know what else to try.

    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • My Bass and Treble randomly change on there own until i kill the hptonectl.​exe on the task manager.

    After killing the hptonectl.exe task i can no longer control the volume. Any suggestions or upgrades to the hptonectl program?
    Thanks
    Mark

    How can I fix the HptoneCtl.exe problem? The Bass and Treble control pops up on the screen randomly

  • Two java.exe processes running in the Task Manager in Windows XP

    I tried to find the best possible place to post this and after spending about 20 minutes searching for an appropriate forum starting from java.com I ended up here. So forgive me if the is a wrong place and if there?s a more appropriate place for my question, please provide a pointer to it.
    I don't know much about java and what it does but as the title says when I open the Task manager there are two java.exe processes running at the same time with about 20 000 k each.
    One of the processes is coming from:
    C:\Program Files\Alias\Maya6.5\docs\jre\bin\java.exe
    and the other from:
    C:\Program Files\Alias\Maya7.0\docs\jre\bin\java.exe
    in addition to that a jusched.exe process is also running coming from
    C:\Program Files\Java\jre1.5.0_10\bin\jusched.exe
    I rarely open the Maya 6.5 and 7 documentations but the two java.exe process are running all the time and I would like to stop them running when I don?t need them but I don?t know how.
    I can't end these processes from the Task Manager; they reappear immediately after I end them.
    Any help with this is greatly appreciated.
    Thank you

    Try to see:
    http://forums.cgsociety.org/showthread.php?t=294973
    Bye,
    leo

  • Calling  r25con32.exe  from the command prompt

    how to call r25con32.exe from the run prompt.

    Duplicate:
    Calling  r25con32.exe  from the command prompt
    :)

  • Multiple instances of explorer.exe running in task manager

    I got a dropper trojan virus on my computer that microsoft security essencials do not recognized but after running "superantispyware" antivirus I got discover it and delete it. After that, I still could find the infected files in my
    administrator folders as .temp files and I just erased them. After that my computer started crashing and runing several instances of explorer.exe in the task manager with different memory values, some of them ascending to 350,000. I have set up my computer
    to run just the basic services, I have tried windows in safe mode, ran other antivirus programs but still it is performing the same. As far as I have noticed other unusual process present are host.dll, dllhost.exe, and logonUI.exe. Any idea about it? Thanks
    in advance for your help.

    I have the same issue. It started about a month ago when I was filling out a form online and had to quit and close the window.  My system got very buggy (can't remember details), flashing, then really slow.  Found a bunch of explorer.exe instances
    in Task Manager.  Ran Security Essentials and several other anti-viruses, nothing found.
    Running Win7 Pro, sp1, 64-bit, CoreI5, 4Gb Ram
    Restored system to a previous version, didn't work
    Restored last system image, didn't work
    Used System Repair Disk - ran Memory Diagnostic.  Said it would give me report after reboot.  Never saw a report after reboot. But only one instance of explorer.exe in task manager at that point.  Took disk out, rebooted normally.  After
    20 minutes or so, the multiple instances were back.
    Used Repair Disk again, ran Memory Diagnostic. Again, no report after reboot (leaving disk in machine both times), but only one instance running again. 
    Did this a few times with the same result, so now leaving disk in system and always boot from it.
    Ran Security Essentials again, found that rovnix virus, removed, ran again, found it again.
    Ran search for instances and found many.  Here's an example:
    C:\Windows\explorer.exe
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_b9fc4815c4e292b5
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_b0333b22a99da332
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_ba87e574ddfe652d
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba
    C:\Windows\SysWOW64
    When I check properties on the now single one on Task Manager, this is what it shows:
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba\explorer.exe
    C:\Windows\explorer.exe
    I was going to reinstall entire system, but was from an Anytime Upgrade which now says it's invalid.  Much more to story on that (calls to MS support, etc.).

  • Task Manager Process

    hi
    i installed Dreamweaver CS3 when i run Dreamweaver CS3 the
    task manager process going to be 100% even i minimized Dreamweaver
    CS3 & not used tell me the solution

    What OS? How much RAM?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "as white as snow" <[email protected]> wrote
    in message
    news:f81ha3$br3$[email protected]..
    > hi
    > i installed Dreamweaver CS3 when i run Dreamweaver CS3
    the task
    > manager process going to be 100% even i minimized
    Dreamweaver CS3 & not
    > used tell me the solution

Maybe you are looking for