How do I open a new window in Adobe Acrobat using the plugin sdk
I would like to create a new menu item that when clicked it will open a new window (e.g. winform). What I'd like to do is pull data from a server and interact with the user in that window. Basically show the user a list of PDF files to pull from the server. Once the user is done selecting which file to pull to have the file pulled from the server into the local drive and have it opened in Adobe Acrobat. The problem I'm having is that I don't know how to invoke a winform or something like it to place my lists of files and UI controls. I've looked at the samples in the SDK and don't see anything that deals with this particular issue. I'm a newbie so I'm sure I'm missing something here. I tried creating a new WinForm in a sample example and ran into errors and the form is not functioning. Any help is much appreciated.
Thank you Dan_Korn,
This suggestion is very helpful. I like the idea of creating the new functionality in the language/environment of my choice and simply call it from the plugin. The only issue I have is that when I start the other gui app from within the plugin I don't know how to communicate with it. I would like to do these things with it:
1. For the spawned off app to be able to tell Adobe Acrobat to open a file in a certain location.
2. For the spawned off app to exit if Adobe Acrobat is closed.
3. Also if the spawned off app closes for the handles to it to be desposed of and cleaned up to avoid leaks.
Any ideas on the easiest approach to the above behaviors?
Here's my code so far in the plugin:
void StartApp1()
STARTUPINFO info={sizeof(info)};
PROCESS_INFORMATION processInfo;
if (CreateProcess(NULL , "myexe.exe", NULL, NULL, TRUE, 0, NULL, NULL, &info, &processInfo))
::WaitForSingleObject(processInfo.hProcess, 0);
CloseHandle(processInfo.hProcess);
CloseHandle(processInfo.hThread);
else {
AVAlertNote("Couldn't luanch the exe");
Similar Messages
-
How to remove "Open with... Adobe Acrobat" from the right click context menu
We want to deploy Adobe Acrobat on our Citrix envoriment. At this moment we have Adobe Reader for all users installed. Adobe Acrobat should be only availible to a selection of users. I've tried to remove everything with the custimaztion tool but one thing which I'm not able to is to remove the option when you right click a PDF document that you can choose to open with and then Adobe Acrobat XI. I want to disable this because else users who don't have the permission to run Adobe Acrobat are still able to run it.
Sorry but you're not right, why are there then whtiepapers how to install it on Citrix?
http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/citrix.html -
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
This box appears and then firefox quits...never opens.
I have uninstalled, and loaded firefox 5 times and never got it to run.See [[Firefox is already running but is not responding|Firefox is already running but is not responding]].
-
After deleted profile my Firefox will not start
Message - Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
I have tried – Restarting - Checking control panel for active firefox.exe –Uninstal l- Reinstall- and run CCleaner. All without any result
Can You help me? Are there any other processes that can be running?
Is there any cleaning tool available?
Best Regards, PelleHi Pelle,
Why did you delete your profile? Also how? Did you use the profile manager or did you delete from the windows file structure?
It sounds like something during the profile delete has stopped Firefox from starting up. Please see the this article and follow the steps:
Please see this article: [http://kb.mozillazine.org/Profile_in_use]
--Edward -
Firefox will just stop loading/ connecting to the internet. The gray circle will just continually move but it never turns green to load the pages. I know it's not my internet because my internet explorer works just fine while this is happening to firefox. So I close firefox and then try to re open it but I get the message: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. So I wait a little bit then try and re open it and still get the same message. I then go into my windows task manager and try and end the firefox proccess but it won't end. So I restart my computer and firefox eventually starts acting up again.
For possible causes of this error, and how to troubleshoot it see [[Firefox is already running but is not responding]].
-
While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?
I guess I'm not explaining myself fully. I have a home page designation in firefox preferences that starts firefox up with 5 sites. that pretty fills up my screen with tabs.
At some point I want to initiate another WINDOW in firefox (NOT a tab). I would like to be able to open up a window that ONLY has ONE tab, or as if there were only one site designated as the home page. This gives me a workspace that has my most useful sites available in tabs in one window, and also another WINDOW that I can move around in and even create more tabs without messing up my primary set of TABS (in my primary window). I see how this might not be doable without doing what I do now, which is open up a new window, and then close tabs until the new window just has one tab for me to work from. -
I am connected to the internet, but all tabs are closed. Now I want to open a new tab, But Firefox pops-up with "Firefox is already running, but not responding. To open a new window, you must first close the existing Firefox process, or restart your system". Does anyone here know how to fix this? Thank´s, BL.
== This happened ==
A few times a weekFirefox is shutting down windows I want to remain open. Example: I am done viewing one window. I click the X to shut the window and it shuts two windows. Every single time, attempt to close one windows, two windows close. Lately, I have been opening several windows with nothing but google search, just so it will shut that window and not something else I want to remain open. I could understand this if I was using tabs, but I am not. This has been going on for over two weeks. I don't like going back to history to open a window, I did not want closed in the first place. Isn't that what 'Windows' is all about? Any ideas?
-
Keep getting this message "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." However, cannot view open window or close Firefox. Have to always reboot system to access the internet.
For possible causes of this error, and how to troubleshoot it see [[Firefox is already running but is not responding]].
-
when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
== This happened ==
Just once or twice
== I was on facebook trying to upload pictures yesterday. ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file -
If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
== This happened ==
Every time Firefox opened
== IDKThis began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote
-
Update firefox, it asked me to update flash, I tried to update flash but it said I had to close firefox. A box came up and said the Flash install would continue when I closed firefox. I closed all firefox windows and no update of flash occurred. I tried relaunching firefox but got the "Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." message. I rebooted the system, no improvement. I tried to run firefox as administrator and got the same message. Either I find a fix or I won't be able to use firefox and will have to go back to ie.
-> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
Troubleshooting extensions and themes
* https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
Troubleshooting plugins
* https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
Check and tell if its working. -
somehow i couldn't get rid of one website called www.searchqu.com/405 set as my homepage... I tried all solutions given to change the homepage but whenever i restarted firefox that homepage used to come automatically.. So, I deleted the profile (even from recycle bin!!) and deleted the firefox and downloaded it again hoping to get my problems fixed (which didn't happen!) because i'm getting dialog box saying- Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
You don't say which operating system you have installed?
Assuming it's Windows, right click a blank part of the Windows Taskbar and go to Task Manager. Then click the ''Processes ''tab, find '''firefox.exe''' and then right click it and choose '''End Process'''. -
when I launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox not running and a restart doesn't solve the problem
Download a fresh Firefox copy and save the file to the desktop.
*Firefox 12.0.x: http://www.mozilla.org/en-US/firefox/all.html
Uninstall your current Firefox version, if possible.
*Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
*It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
*http://kb.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
See also:
*https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding
*http://kb.mozillazine.org/Profile_in_use
*http://kb.mozillazine.org/Recovering_a_missing_profile -
I get this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.The task manager shows no open Firefox processes.I had two users on this laptop running Firefox and I tried deleting the program on both users. I then downloaded the newest version, installed it and I still get the error message as before. HELP!!!! I loved the browser program when it was working before and would rather use it than other browsers.
See "Hang at exit":
* http://kb.mozillazine.org/Firefox_hangs
* https://support.mozilla.com/kb/Firefox+hangs -
I keep getting this message after closing Firefox and attempt to reopen-Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
See:
* http://kb.mozillazine.org/Recovering_a_missing_profile
* http://kb.mozillazine.org/Profile_in_use
Maybe you are looking for
-
Extracting all values from multiple menus
Hello all, Basically I have a jsp that consists of three of what FrontPage calls drop down boxes but I will hereafter call list boxes, each containing a number of options extracted from a database; these values can be moved from one box to another us
-
Is the worst thing about iphone it's ringtunes, and how do I fix???
Hello there, Unfortunately I am now within hour 15, in my attempts to replace Apples purposefully terrible ringtones with new ones, and I've bought a few now... However none of them work.. they aren't even recognised on itunes as ringtones. I bouhgt
-
I am trying to capture user activity for steps of a workflow in my underlying library (not just in the workflow history). I have tried using lookups to copy the "date occurred" from a specific log/history message, which is successful, but always disp
-
AP emulation on Intel Wlan 2200BG card in Satellite A50
Hi there, I want to ask if I have an option of AP emulation with my wifi card Intel PRO/Wireless 2200BG? If yes please tell how to adjust it. Thanks in advance
-
Please explain how to connect to an Oracle database with CF9 standard
Can someone walk me through this process? I am trying to help a group that upgraded frmo cf8 enterprise to cf9 standard.