Using Acrobat.dll

HI,
I am trying to direct print a pdf using visual c# and acrobat.dll without installing acrobat 11 pro. the dll is registered. however I am still getting the class not registered error. Any suggestion ?

You can't use parts of Adobe Acrobat.

Similar Messages

  • Creating Certificate using Acrobat dll in C# program

    Hello,
    I need to create a certificate, basically .pfx file in C#. I used makecert tool to create the certificate first and then export it into .pfx file through command line. My attempt was successful. Then I used the .pfx file to encrypt a pdf using iTextSharp. The pdf is encrypted successfuly but when i try to open the pdf,  Acrobat/Reader shows a message "You do not have access rights to this encrypted document". I intalled the .pfx file but the problem still remains.
    Can anyone please guide me what am I doing wrong. I used the following code from command prompt to create a certificate and then export the certificate to a pxf file
    Create certificate - makecert -r -pe -n "CN=My CA" -ss CA -sr CurrentUser -a sha1 -sky signature -sv MyCA.pvk MyCA.cer
    Export to pfx - pvk2pfx -pvk MyCA.pvk -spc MyCA.cer -pfx MySPC.pfx -po <password>
    Is it possible to create a pfx file using acrobat dll in C#??
    Please help me, its urgent.
    Thanks in advance!

    No, there are no APIs for working with certificates from C#.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 13 Dec 2011 22:35:57 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Creating Certificate using Acrobat dll in C# program
    Re: Creating Certificate using Acrobat dll in C# program
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4083490#4083490

  • To access bookmarks in pdf doc using acrobat sdk with C#

    Hi, I am converting a word doc to PDF. While doing this the headlines in word doc are getting converted to bookmarks in PDF & I get a bookmark tree. I want the bookmarks to be collapsed. I am using acrobat dll to convert word doc to pdf. Want to use the same to collapse the bookmarks.
    Any help would be appreciated.
    Thanks & Regards,
    Lalit

    Hi Irosenth,
    If we have Acrobat installed on our m/c in Micorsoft office word I get an "Acrobat" tab. In that I get an option to create "PDF" from word.
    So keeping this in mind I created a  project in C# using VS 2008. In this project I took the reference of "Acrobat.dll" the com library.
    Using the reference of this library I converted the word/excel/ppt docs to PDF.
    Below is the code snippet :
    public 
    void startConversion(string docFile, string pdfFile){
    Acrobat.
    AcroAVDocClass _acroDoc = new Acrobat.AcroAVDocClass();Acrobat.
    AcroPDDoc _pdDoc = null; 
    string strNonPDFFile = docFile; 
    string strPDFFile = pdfFile; 
    _acroDoc.Open(strNonPDFFile, strPDFFile);
    _pdDoc = (Acrobat.
    AcroPDDoc)(_acroDoc.GetPDDoc());
    _pdDoc.Save(
    Convert.ToInt16(Acrobat.PDSaveFlags.PDSaveFull), strPDFFile); 
    _pdDoc.Close();
    _pdDoc =
    null;_acroDoc.Close(1);
    _acroDoc =
    null;}
    This does convert Word/exce/ppt to pdf successfully. But I wanted to get access to the bookmarks of the PDF file....
    Any help would be appreciated.
    Thanks & Regards,
    Lalit

  • Creating DLL using Acrobat SDK

    Hi,
    I want to create one DLL using Acrobat SDK and VS 2010 Win32. If i use this dll in our program it should show functions for opening pddoc, total number of annots, Can I do this using Acrobat SDK. I know we can create plug-in extension with .API.
    Please let me know can i do this using Acrobat SDK.
    Thanks,
    Kruthi

    Please use the forum for Acrobat SDK.

  • Delay unloading Acrobat dlls when using Acrobat 9

    In our Java desktop application, we use Acrobat 9 to display a pdf file.
    This pdf is opened in another window. When the window is closed the acrobat dlls loaded are expected to close by itself so that the corresponding javaw process can close.
    The javaw process is not closing since the acrobat dlls are NOT closed automatically. It was found the dlls are unloaded after around 30 second.
    When tried with Acrobat 8 it worked perfectly.
    Has anyone come across the dll unload issue with Acrobat 9?
    Can you suggest a solution?

    Wrap the Adobe functionality in an executable.
    Manage that from your main java app via Runtime.exec/ProcessBuilder.
    Provide a communication interface so the two can interact.
    Your main app can exit at any time. The secondary app will exit after the delay without being visible to the users.

  • Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Cant we even use the dlls in an application?
    In order to automate Acrobat, you need to have Acrobat installed. There is
    nothing you can do with just the DLLs. As was already stated, Acrobat is
    not licensed for use on a server, but regardless of that, it's also
    not technically suitable for server use. You need to find a solution
    outside of Acrobat to solve your problem.
    It also seems that you don't have a good understanding of what is going in
    inside a PDF file. PDF is a very complex file format, and based on
    your questions
    and followup questions, you need to spend a considerable amount of time
    getting familiar with the PDF file format to understand how color works in
    the PDF context. Reader the PDF spec, while paying special attention to the
    section about color. You will find out that if you want to convert the
    color space of a "PDF file", you actually need to convert the color space
    associated with every single object in your PDF file. That is fairly simple
    for vector graphic and text, but when it comes to images, you may have to
    convert the image data. Once you have a good understanding of what it is
    you need to do within the PDF file, then you can start looking for tools
    that allow you to do that. Again, Acrobat and therefore the Acrobat SDK is
    not suitable for this task. If you want to stay with Adobe products take a
    serious look at the PDF Library, which his licensed through Datalogics (
    http://www.datalogics.com/products/pdf/pdflibrary/). As you've mentioned,
    there are other, non-Adobe PDF libraries that you can also use, but this is
    the Acrobat SDK forum, so I won't discuss any of those 3rd party solutions.
    You are wasting your time while looking for a simple solution that does not
    exist.

  • Problem in using AcroPDF.dll in vb6 application

    I have an vb6 application and i want to display a PDF file in a form. I have used AcroPDF.dll and works fine on developmeny system.
    But when i install application on client's system i get error "Out of memory" when i try to open the form with PDF control.
    can anyone help me with this.
    Thanks

    Try asking this question in the Acrobat SDK forum.

  • Error converting web page to PDF using Acrobat 8 IE 9 on Vista

    I am getting the following errow when I try converting web page to PDF using Acrobat 8 on IE 9 on Vista.  This worked previously but it appears that a recent update to Acrobat caused issues with this functionality.  This happened once before and after some troubleshooting the technician wasable to get the functionality working again.  The Adobe printer shows up with "Error" however I can still create PDFs from outlook.
    Error Has Occurred
    Line:11
    Char:3
    Error: Permission Denied
    Code: 0
    URL:res//C:\Program Files\Adobe\Acrobat 8.0\Acrobat\AcroIEFavClient.dll/AcroIECapture.html

    Is the plugig the same as an add-on because all of my Acrobat Add-ons are active?
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.25 s
    Name                Adobe PDF Reader Link Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.01 s
    Navigation time     0.00 s
    Name                Adobe PDF Conversion Toolbar Helper
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.06 s
    Navigation time     0.00 s
    Name                Adobe PDF
    Publisher           Adobe Systems, Incorporated
    Status              Enabled
    Load time           0.00 s

  • How to use AcroPDF.dll even if addon is deactivated in InternetExplorer

    Hello,
    hopefully someone can help me with my problem:
    I need to instantiate AcroPDF.dll and have it deactivated at the same time in InternetExplorers Addon-settings.
    But when I deactive the addon in IE, CreateObject("AcroPDF.PDF.1") throws an error that the instance could not be created, but the dll is still registered.
    How does this deactivation work technically? Is there any way to use the dll in other applications regardless of the IE-settings?
    Best regards and thanks in advance,
      Thomas

    For programming issues you should use the forum for Acrobat SDK.

  • APPCRASH in Acrobat.dll after adding annots with AFExecuteThisScript()

    I have a C# app that displays PDFs in a WebBrowser control.   I also have a plug-in that loads annotations into the PDF (i.e. doc.addAnnot(<propertys>)) via calls to AFExecuteThisScript().  It works; the annots are loaded successfully.  However, whenever I do this, I get an APPCRASH after the app has terminated. Since it happens after the app exits, it's out of the debugger's scope.
    Since this problem happens only after my plug-in adds annots to the PDF, I'm thinking that something Javascript-related is not being released before the app exits.  I've tried doc.dirty = false after adding each annot, and also docClose() in my plug-in's AVDocWillClose callback, but it doesn't do any good.
    This is NOT caused by AFExecuteThisScript() per se.  In other words, I can do AFExecuteThisScript with or without a return value and there's no APPCRASH.  It only seems to happen when I modify the PDF (i.e. add annots) via AFExecuteThisScript().
    This is not a showstopper for me but merely an irritant, because it always happens when the application terminates.  Incidentally, it did not seem to happen in Acrobat 8.
    Here is the problem signature that is produced in VS 2005 after the app terminates.
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    DrsDisposition.vshost.exe
      Application Version:    8.0.50727.42
      Application Timestamp:    4333d898
      Fault Module Name:    Acrobat.dll
      Fault Module Version:    9.3.0.148
      Fault Module Timestamp:    4b3074b9
      Exception Code:    c0000005
      Exception Offset:    0013286c
      OS Version:    6.1.7600.2.0.0.256.48
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Can anyone help?
    Thanks.

    I modified my plug-in to enable it when I open a PDF from the file system with Acrobat.exe, and then create a single annot with AFExecuteThisScript().
    Everything works fine, the annot is created, and there is no APPCRASH when I quit Acrobat.
    I just needed to modify my AVDocDidOpen and AVIdle callbacks to make this work (to allow me to work with PDFs opened in Acrobat.exe from the file system), so everything else about the plug-in (initialization through cleanup) is the same.
    One of the last lines of output was:
         'Acrobat.exe': Unloaded 'C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.dll'
    It seems to me that the problem is related to the WebBrowser control, which apparently does not release Acrobat.dll when it destructs.  I've tried manually releasing Acrobat.dll in my app code after Application.Run(theForm); returns, i.e.
         IntPtr handle = GetModuleHandle("Acrobat.dll");
         if (!handle.ToString().Equals("0"))
              FreeLibrary(handle);
    but that causes the app to crash on FreeLibrary().
    I wonder if it would make any difference if I were to manually load Acrobat.dll in my code, rather than waiting for the WebBrowser control to do it when it opens the PDF.  I noticed that one of the first output lines from Acrobat.exe (after the windows libraries are loaded) is
    ADOBE_READLOGGER_CMD:COMMENT:BeforeOROADOBE_READLOGGER_CMD:COMMENT:AfterORO'Acrobat.exe': Loaded 'C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.dll', No symbols loaded.
    Incidentally, I'm unable to debug my plugin when I run my app in VS 2005.  There's no process that I can attach my plug-in debugger to, probably because Acrobat 9 uses in-process DLLs to render PDFs in browsers.

  • Faulting module acrobat.dll

    Lame day!
    I haven't posted here in over a year. I guess that's good. Today we converted my machine here at work from our old NT 4 domain to the new Active Directory server. Then I spent my afternoon repairing all the stuff related to CS3 that were somehow bombed in the switch -- stuff like a blank XML configuration file or a palette in Photoshop. I got everything except one problem: Acrobat just won't start. I get a classic Windows "program encountered error" message immediately and that's all. When I take a look at the error log, I see:
    Faulting application acrobat.exe, version 8.1.0.137, faulting module acrobat.dll, version 8.1.0.137, fault address 0x00117e1c.
    I've tried repairing and reinstalling, but the problem persists. I tried to install Reader and had the same results (with a slightly modified error log).
    Distiller still works. I can make PDFs using the Office plug-in. I just can't look at them after that. Also, sometimes I need to do more than just turn a Word document into a PDF.
    So, if anyone can provide me with a clue, I'd love it. Here are all the relevant details of my machine:
    - Windows XP Pro
    - CS3 Web Premium
    - 1GB RAM
    - Intel Core 2 Duo at 2.13 GHz
    Thanks, folks!

    Maybe the .dll itself has been corrupted. When I try to reinstall from the DVD, I can't select Acrobat. It says it's already installed. Is there a way just to get the .dll? I haven't been able to look at a PDF on my machine since this started. I can make them, but then I have to use my development machine in another room to see them. Remote Desktop is nice, but it gets lame quickly.
    Jeremy

  • Cannot creat pdf from Powerpoint using Acrobat Pro X

    I cannot create pdf files from Powerpoint 2010 using Acrobat Pro X.  I am using Windows 7 32-bit. There are no updates for my Acrobat Pro X and so the PDFMaker is up to date.  When trying to save to a pdf, the program will crash.  The problem signature from Powerpoint states that the problem name is "APPCRASH" and that the fault module named MPS.dll.  HELP!

    Here's a slightly better version.
    set urllist to {"http://www.cnn.com", "http://www.apple.com", "http://www.macintouch.com"}
    set numURLs to (count urllist)
    on pageloaded(timeoutvalue) -- in seconds
    delay 2
    repeat with i from 1 to timeout_value
    tell application "Safari"
    if (do JavaScript "document.readyState" in document 1) is "complete" then
    return true
    else if i is timeout_value then
    return false
    else
    delay 1
    end if
    end tell
    end repeat
    return false
    end page_loaded
    tell application "Safari"
    activate
    end tell
    tell application "System Events"
    tell process "Safari"
    set frontmost to true
    repeat with i from 1 to (numURLs)
    tell application "Safari"
    set URL of document 1 to item i of urllist
    end tell
    my page_loaded(5)
    keystroke "p" using {command down}
    click menu button "PDF" of sheet 1 of window 1
    click menu item 2 of menu 1 of menu button "PDF" of sheet 1 of window 1
    keystroke return
    end repeat
    end tell
    end tell
    Eric

  • Access InterOp.Acrobat.dll

    Hi,
    How to Enable commenting in PDF using VB.net through InterOp.Acrobat.dll? Is it possible?
    Kindly give me the solution with example.  otherwise is there any other way to enable commenting for PDF(Reader Enabled PDF)?
    Please advice me.
    Regards
    Kumar

    otherwise is there any other way to enable commenting for PDF(Reader Enabled PDF)?
    It is possible with the Adobe LiveCycle Reader Extensions ES software:
    http://www.adobe.com/products/livecycle/readerextensions/

  • Working with acrobat.dll

    Hello all,
    I am completely new to this forum, and I hope it's a right place to ask what I am going to ask. I am trying to develop application, that could take some pdf document, and to add field on certain page at certain coordinates. There will be a further use of this field, but it is not of inetrest so far. To achieve this, I am using Adobe Acrobat 7.0.5 SDK installed on my machine. I created a .Net project and added Acrobat.dll as a project reference. To be able to get to document object, I instantiate object of class AcroAVDocClass, and here the problem starts. Application fails to run, with such an error:
    Retrieving the COM class factory for component with CLSID {72498821-3203-101B-B02E-04021C009402} failed due to the following error: 80040154.
    After googling a lot, I know that it is a problem related to registering the component. Indeed, I cannot find this dll in the list of registered COM components in "Add reference" window of my MS Visual Studio 2003, and it is not on the list of .NET components as well. I tried to register the dll by means of regsvr32 - it failed as well, saying:
    C:\Program Files\Adobe\Adobe Acrobat 7.0.5 SDK\InterAppCommunicationSupport\PIAs\Acrobat.dll was loaded, but the DllRegisterServer entry point was not found. The file cannot be registered.
    Does anyone have any idea what I supposed to do? I'll very appreciate any hint.
    Thanks in advance!

    Thank you a lot, indeed, instalation of Acrobat solved the problem of registering dll. Now I want to go further and to add field to the pdf document. We have here some javascript code, that deals with this, and it works fine.
    for (var p =0;p <this.numPages;p++)
    var aRect = this.getPageBox({nPage:p});
    aRect[0] =582.711;
    aRect[1] =353.114;
    aRect[2] =594.439;
    aRect[3] =202.498;
    var f =this.addField("CaseIDBarcode","text",p,aRect );
    f.delay =true;
    f.textSize =26;
    f.delay =false;
    f.fontSubset = subset.Roman;
    f.MEOptions = 32768;
    f.textFont = "B3of9Barcode";
    f.rotation = 90;
    Now we want the .Net application to do the same thing. I know that it is possible by means of JSObject (to run javascript commands from outer .net application). Is it possible at all? Where can I find samples of code that can do it (prefferably, in C#)
    Thanks again!

  • Can i use AcroRd32.dll to get Object of AcroApp

    Hi all,
    Can i use AcroRd32.dll to get Object of AcroApp. I don't want to use acrobat professional.
    My code is :
    Dim objAcroApp As Acrobat.AcroApp
    Dim objAXDoc As Acrobat.AcroAXDoc
    Dim objAVDoc As Acrobat.AcroAVDoc
    Set objAXDoc = CreateObject("AcroExch.Document")
    Set objAcroApp = objAXDoc.Application
    (I have taken refernce to Adobe 7.0 type library in my VB application)
    But the last line is giving me error (Object doesn't support this action)
    Plz help me.
    Many Thanks,
    Nitin

    Hi all,
    Can i use AcroRd32.dll to get Object of AcroApp. I don't want to use acrobat professional.
    My code is :
    Dim objAcroApp As Acrobat.AcroApp
    Dim objAXDoc As Acrobat.AcroAXDoc
    Dim objAVDoc As Acrobat.AcroAVDoc
    Set objAXDoc = CreateObject("AcroExch.Document")
    Set objAcroApp = objAXDoc.Application
    (I have taken refernce to Adobe 7.0 type library in my VB application)
    But the last line is giving me error (Object doesn't support this action)
    Plz help me.
    Many Thanks,
    Nitin

Maybe you are looking for

  • How do I transfer jpg images transfered to an SD card, into an iPad?

    How do I transfer jpg images transfered to an SD card, into an iPad? Have tried lots - nothing works. I would like to buy an iPad if this could be solved. I am on a PC I have iTunes on my desptop, not my laptop. When traveling I shoot RAW 22mg photos

  • Is there a FM to create GL account master data ?

    Instead of the BI based report RFBISA00 I would prefere to use a FM or BAPI. Does anybody know such a FM? Thank in advance

  • Schedule fields query

    Hi guys, Can someone tell me where the values for the custom fields in the Microsoft Project Professional 2010 schedule are stored in database? Which table in Project Server 2010 stores the values for fields in the schedule? I want to read these valu

  • Convenient way to edit libraries

    Hello everyone! Is there any convenient way to edit symbol, swatch or graphic style libraries? The way I do now is  quite time-consuming: I open a library I need to edit, create a new symbol, select other symbols of the opened library (so that they a

  • I was just charged a hidden upgrade fee......

    and when I called Verizon Customer Non Service about it, Tasha told me everyone was paying it and there was absolutely NOTHING that could be done. I calmly told her that since we have been customers for the past 15 years, we didn't have to pay any UP