Embed Adobe Reader with OLE into Java client

Hi all,
I am trying to integrate Adobe Reader 9.3 using OLE into an Eclipse base Java client using SWT.
However the basic initialization of the OLE Control fails with this error:
Unable to open type library for AcroPDF.PDF.1
org.eclipse.swt.SWTException: Failed to create Ole Client. result = -2147221164
    at org.eclipse.swt.ole.win32.OLE.error(OLE.java:302)
    at org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:142)
Here is the code I used:
String progID = "AcroPDF.PDF.1";
Shell shell = new Shell();
OleFrame frame = new OleFrame(shell, SWT.NONE);
OleControlSite site = null;
OleAutomation auto = null;
try {
    site = new OleControlSite(frame, SWT.NONE, progID);
    auto = new OleAutomation(site);
} catch (SWTException e) {
        System.err.println("Unable to open type library for " + progID);
    e.printStackTrace();
    return;
I can see the key "AcroPDF.PDF.1" in my registry...
Does anybody know what I am missing here?
Thanks!
Paul

I'd suggest posting to the Acrobat SDK forum. You may need a license to do what you want.

Similar Messages

  • Adobe Reader Splash--I have a PDF file that whenever I try to open it suggests using Adobe Reader with a link to download Adobe Reader...

    Adobe Reader Splash--I have a PDF file that whenever I try to open it suggests using Adobe Reader with a link to download Adobe Reader. I can't get beyond this. I have made Preview the default for all PDF's and yet this persists. I have also deleted Adobe Reader. This particular file is a portfolio, btw.

    I have similar issue. Did u find an answer?

  • How to fill forms in adobe reader with lithuanian fonts?

    How to fill forms in adobe reader with lithuanian fonts?
    when i switch on my pc alt+shift to lithuanian language i can only use 2 lithuanian fonts, for other lithuanian fonts i get only blank
    could someone help me to solve this case?

    Adobe Acrobat.  A bit expensive just to change the document background...

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • Unable to open Adobe Reader with ability to changes PDF to word

    adobe reader with ability to change from pdf to word stopped working I purchased a new year and it does not work?

    John,
    Glad to hear everything is working. I'm surprised, too, though, because these subscriptions are on auto-renewal when you subscribe (unless you cancel before the subscription runs out).
    So....I just double-checked your account.  You had a CreatePDF basic subscription which expired on August 28 (I'm guessing that one wasn't on auto-renewal).
    In any case, I think all is well now!
    Best,
    Sara

  • Looking for expert who can highlight 3d model node in adobe reader with external program

    I need to select and highlight 3d model node in adobe reader with my program.from outside of adobe reader. it seems there is no out-of-box API in stndard SDK. I want to outsource this task fully or partly. If you have the solution or able to provide consultant in this area, please send message to me.

    You would indeed need a plug-in to actually select and highlight but you can easily call attention to a part by temporarily changing the color via JavaScript which you can access from external applications.
    I can provide more specific advice if you explain the exact user interaction you're looking for. Is this a desktop application? Is the PDF in a browser? etc.
    J-

  • How do I unblock download of Adobe Reader with Windows 7, Explorerer 9?

    How do I unblock a download of Adobe Reader with Windows 7, Explorere 9 on a Lenova laptop?

    Turn off your firewall
    Download the offline installer: http://get.adobe.com/reader/enterprise/
    Turn it back on.

  • How do you run Adobe Reader with New Lions

    How do you run Adobe Reader with New Lions?

    Lion has Preview, you may not need Adobe Reader.
    Preview Help
    View your images and PDF documents, touch them up, annotate them, and share your comments.
    Regards,
    Colin R.

  • Unable to open files associated with Adobe Reader - program goes into a loop

    i am unable to open any file associated with adobe reader or adobe pro.  when i double-click the file, adobe reader opens up but it goes into a loop. 
    adobe reader opens, then a progress window opens, as if the file will open but adobe closes and opens again and the same cycle repeats itself until i manually close the program.
    any advice?
    update:
    i can open regular .PDF files when i double-click the icon and i can also open .PDF files when i open adobe reader first and then choose open file.  it's just the .FDF files that are the problem (so far).
    the file in question happens to be an .FDF extension, which is an internet generated form. i attached a screen shot of the screen that pops up, goes away, and pops up again that creates the loop.
    the white out section is the server name where the file was saved to.  but i also get the same symptoms when i am in internet explorer, hit the generate form button.

    hey ankit,
    sorry i didn't see a notification that you replied to this discussion.
    "1. Generate a new PDF and a FDF file. Try opening the same and see if it behaves the same way."
    yes, it does behave the same way, it's just a continuous loop until i have to kill the process.
    "2. Check if you have access to the PDF that is being used by the particular FDF."
    by this do you mean the correct permissions?  if that is what you mean, then yes, the permissions are set correctly.
    "3. If possible, please send me the FDF and the associated PDF that is behaving in this way on your system."
    i really wish i could but the information in the form is sensitive and cannot be sent. 
    as an update though, i reimaged the customer's workstation, installed Adobe Reader 10.1.1 and it worked perfectly (finally).  HOWEVER, after about two weeks the same symptoms returned! 

  • Embed Adobe Reader in custom Android (or PhoneGap) Application

    We have a need to embed PDF reader in one of our custom built Android (or PhoneGap Plugins) tablet application. Embed meaning is not just display pdf document inside the application instead we have to tap the following API functionalities programmatically:
    1)       Retrieve pdf document meta data i.e. Page Size, Author, Date Created
    2)       Tap next and previous page click and implement our custom handler code
    3)       Zoom, Pinch, page swipe etc.
    Can someone help us or give direction to achieve the above use cases using Adobe Acrobat reader (Adobe Reader Mobile 9 SDK)?
    Whether Adobe Reader Mobile 9 SDK exposes API to program against? The FAQ section doesn’t talk about the API for the above mentioned use case
    We have spent enough googling to find the possibilities but no luck. What was our conclusion after the analysis is we have to go for open source or commercial embeddable pdf sdk’s i.e.
    Mozilla’s Pdf.JS
    Android Pdf Viewer Library
    Foxit pdf viewer library
    Radaee.pdf, Embeddable Mobile PDF SDK
    The Adobe Reader Mobile SDK
    We have tried the above mentioned libraries and below are our experience
    Mozilla’s Pdf.JS – It is a JavaScript solution and exposes API for all of our need but fails to render the PDF for some cases whenever some special embedded font is missing and in such cases the application crashes. Other than this single issue it very promising and superb. Still it is in beta stage.
    Android Pdf Viewer Library – We have built a Custom Intent (PhoneGap Android Plugins) but it is very slow and fails in many cases. We felt PDF.JS is much better than Android Pdf Viewer Library
    Radaee.pdf – Currently exploring. The Knowledge base is very poor and not enough samples to move forward
    Foxit pdf viewer library – Unable to download the SDK from the URL they sent in the email after registering with Foxit.  Though the link says PDF SDK but it downloads only the pdf reader. We sent an email to their sales team and awaiting their response.
    The Adobe Reader Mobile SDK – SDK is not available to download, one need to get it through their re-sellers. We sent a request to them and awaiting for their callback
    Datalogics
    Bsquare
    Bluefire
    Appreciate your response & support.

    Have you tried in the special Reader for Android subforum?
    http://forums.adobe.com/community/adobe_reader_forums/android?view=discussions

  • Want: Adobe Reader with Firefox but not with Safari

    I've been using Firefox as my primary browser for awhile, but still use Safari at times. I use Adobe Reader to display PDFs within Firefox, and it is currently also used by Safari.
    I'd like to take advantage of Safari's new ability to natively display PDFs within the browser window without using Adobe Reader, but I want to continue to use Reader with Firefox.
    Does anybody know of a way to make this happen? It seems to be an all-or-nothing proposition since the same plug-in is used by both browsers.
    iBook G4 12"   Mac OS X (10.4.6)   It's white.

    well, you might try quitting safari & firefox, then moving the adobe plugin(s) from /hd/library/internet plug-ins/ to /applications/firefox.app/contents/plug-ins/ In finder, press Apple-shift-G & paste the italicised text above into the box - this will take you to the firefox plug-ins folder ( assuming you have firefox in the applications folder )
    then restart the browsers & see what happens
    Please note - I don't know that this will work, but it's easy to try & easy to revert back to normal - just quit the browsers again & move the plugin(s) back where they came from.
    I'll just test it with a different plug-in......

  • Use Adobe Reader (or others) in Java Swing

    Hi,
    is there an adobe solution to show pdf files inside an java swing application?
    Regards
    Arno

    >(1.)Is there a limit to saving the form data?
    It is my understanding that you can harvest data from a form 500 times whether that be from one user of 500 users.
    >(2.)If there is a limit to saving the form like 500 times, can the same form be recreated and the limit of 500 starts all over again
    You'd probably be walking on thin ice by trying that. Could be a loophole but maybe not.
    >(3.)Do I need to purchase a license to save these form data?
    Not if you stay within the limit that is stated in the EULA.
    >(4.)How many forms can have enable usage rights in Adobe Reader per Adobe Acrobat professional?
    Different forms? As far as I know there is no limit to the amount of different forms you use.
    In my opinion, if you think you are going to go anywhere near the limitations of the EULA, consult with your attorney before proceeding. The form enabling function was never intended for large business use. Adobe has another, more costly, solution for that.

  • Adobe Reader X Crashes after Java Update to Version 7 Update 51

    I just installed the new Java update Version 7 Update 51 and now Adobe Reader X crashes in Windows 8.1 within 3 seconds, any advise would be helpful.
    Bankruptcy Attorney

    Thanks.  I've posted there as well.  Anyone know if there's a workaround to keep reader from crashing with this form, or is my only option to roll back the servers until the creator of the form updates it?
    (I have notified their webmaster of the issue, but who knows how long it will take the state to update the form.)

  • Adobe reader showing no default email client

    I am using Adobe Reader X on a windows 7 64 bit machine.  I am also using Office 2010 with Outlook.  When I click the email icon in Adobe reader X it pops up a window saying that I have no default email client chose.  Outlook is set to be the default email client but it still gives me this error.
    What can I change so it uses Outlook as my email provider?

    Thanks Pat. I've reported the following to adobe:
    ******BUG******
    Concise problem statement: Every time a PDF is opened, Acrobat Reader issues the following error "Either there is default mail client..." with a banner from Microsoft Office Outlook. I'm using x64 Office365
    Steps to reproduce bug:
    1. Use Windows 8.1 x64 Enterprise
    2. Use Office 365 x64
    3. Install Adobe Reader from adobe's site
    4. Have MS Outlook as your default mail app
    5. Open up a PDF and error will come
    refer to http://forums.adobe.com/message/5854075
    Results: Error message which is very annoying
    Expected results: Should not present an error message.

  • I cannot print a PDF from Adobe Acrobat Pro or Adobe Reader with Mavericks!

    I cannot print a PDF from Adobe Acrobat Pro or Adobe Reader.  I tried on both MacBook Pros we have here, both now with Mavericks.  Error message says "Opening printer connection failed.  Unable to open printer connection . . . "  This is after it says sending data, printing, shows the percentages etc., but then at the end I get the error message above.  I can print a PDF (same one) from Preview, but not from Acrobat!  What's going on?  Never had this issue before Mavericks . . . Please help.

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

Maybe you are looking for

  • Blank Screen after Screen Saver

    I have a MacBook Pro with an external VGA monitor connected - desktop not shared (i.e. different desktop regions on both screens). All is fine until the screen saver kicks in. When I wake the machine up again, only the external monitor shows an image

  • Why doesn't iTunes copy all my files, and how do I know which it left out?

    Hello, I had iTunes on my old PC, and when I installed it on my new one (Vista Home Premium), it very helpfully deleted everything off my iPod and copied it all back again! As it happens, the only files on the iPod were from the iTunes library, so it

  • Wait for a file and start execute a scenario process

    What is the best way to achive: Wait for a file and then once the file in droped...execute a scenario process. Sample scenario: - Admin user ftp the file to a target directory on Unix (export/home/odi/input/files) - A scheduled scenario package will

  • Compressor error "QuickTime Error 0"

    I am trying to compress a 7 min. video using Final Cut Studio outputting directly to compressor, after about 45 min. of compressing I get the error message "Failure Quicktime Error 0" Settings: 2 pass VBR 6.7 - 7.2, 16 x 9 This movie does have alot o

  • Raw for Panasonic Lumix G5

    I am locking for a raw Plugin for the Panasonic Lumix G5. Where i can find it? Thx