AcroExch - Acrobat SDK 9.0

Hi,
I have a copy of Adobe Acrobat 9 pro installed along with the SDK.  I can run the BasicIACVB example and have used the sample to find text in the pdf, however I am having issues pulling the actual page number that the text is found on.
I am using the ACROBAT.CACROAVPAGEVIEW object.
Dim gAVPage as Acrobat.CAcroAVPageView
gAvPage = CreateObject("AcroExch.CAcroAVPageView")
I get an error stating "Cannot create ActiveX component." on the second line, the CreateObject line.
I can create an object of AcroExch.AVDoc just fine without errors.
Any Suggestions would be greatly appreciated.  Oh, I am developing in VB.net 2005 on a Windows XP Pro Box.
Thanks!
JT

You should post in the Acrobat SDK forum.

Similar Messages

  • Add Digital Signature Using C# and Acrobat SDK

    Hi everybody!
    Please, how can I digitally sign PDF documents using Acrobat Professional 8 API and C# language?
    I know that I need use JavaScript APIs (IAC) but I can't find anything really helpful in the Acrobat SDK Documentation. Could anyone post a sample of how use javascript manipulation inside C# (Framework 2.0), or give me a direction?
    Thank in advance!

    Hi Felipe,
    when i am signing the document.
    I believe i am missing something in my code. After executing the code to sign, when i open it i get "The following signature fields are not signed".
    Please let me know where i m doing wrong?
    Here is my VB.NET Code
    Dim gapp As Acrobat.CAcroApp
    Dim gpddoc As Acrobat.CAcroPDDoc
    Dim jso As Object
    gapp = CreateObject("acroexch.app")
    gpddoc = CreateObject("acroexch.pddoc")
    If gpddoc.Open("C:\Test1.pdf") Then
    jso = gpddoc.GetJSObject()
    jso.SetUserPassword("'testpassword12'")
    'jso.ShowMyMessage("SetUserDigitalIDPath")
    jso.SetUserDigitalIDPath("'c:\\DrTest.pfx'")
    jso.app.execMenuItem("ADBESDK:AddSignature")
    jso.AddSignature(jso)
    gapp.Show()
    and here is the javascript
    // password to use the digital signature
    var sigUserPwd = "UNKNOWN";
    // to test the sample without user input, specify:
    // var sigUserPwd = "testpassword";
    // path to the digital signature file
    var sigDigitalIDPath = "UNKNOWN";
    // to test the sample without user input, specify:
    //var sigDigitalIDPath = "/C/DrTest.pfx";
    // other variables the user can modify
    var sigHandlerName = "Adobe.PPKLite";
    var sigFieldname = "sdkSignatureTest";
    var sigReason = "I want to test my digital signature program.";
    var sigLocation = "San Jose, CA";
    var sigContactInfo = "[email protected]";
    /* Add a menu item for AddSignature */
    app.addMenuItem( { cName: "ADBESDK:AddSignature", cUser: "Add My Signature", cParent: "Advanced",
    cEnable: "event.rc = (event.target != null);",
    cExec: "AddSignature(event.target)" });
    // main function
    AddSignature=app.trustedFunction(function (doc)
    app.beginPriv(); // explicitly raise privilege
    // if sigDigitalIDPath is not spcified, ask for user input
    if(sigDigitalIDPath == "UNKNOWN"){
    var cResponse = app.response({
    cQuestion: "Input your digital ID path:",
    cTitle: "Digital Signature",
    cDefault: "/C/DrTest.pfx",
    if ( cResponse == null) {
    app.alert("No input.");
    return;
    else
    SetUserDigitalIDPath(cResponse);
    // if sigUserPwd is not spcified, ask for user input
    if(sigUserPwd == "UNKNOWN"){
    var cResponse = app.response({
    cQuestion: "Input your password:",
    cTitle: "Digital Signature",
    cDefault: "testpassword",
    if ( cResponse == null) {
    app.alert("No input.");
    return
    else
    SetUserPassword(cResponse);
    // create a new signature field
    var signatureField = AddSignatureField(doc);
    // sign it
    if(signatureField) Sign(signatureField, sigHandlerName);
    app.endPriv();
    // create a signature field in the upper left conner with name of sigFieldname
    function AddSignatureField(doc)
    var inch=72;
    var aRect = doc.getPageBox( {nPage: 0} );
    aRect[0] += 0.5*inch; // from upper left hand corner of page.
    aRect[2] = aRect[0]+2*inch; // Make it 2 inch wide
    aRect[1] -= 0.5*inch;
    aRect[3] = aRect[1] - 0.5*inch; // and 0.5 inch high
    var sigField = null;
    try {
    sigField = doc.addField(sigFieldname, "signature", 0, aRect );
    } catch (e) {
    console.println("An error occurred: " + e);
    return sigField;
    // define the Sign function as a privileged function
    Sign = app.trustedFunction (
    function( sigField, DigSigHandlerName )
    try {
    app.beginPriv();
    var myEngine = security.getHandler(DigSigHandlerName);
    myEngine.login( sigUserPwd, sigDigitalIDPath);
    sigField.signatureSign({oSig: myEngine,
    bUI: false,
    oInfo: { password: sigUserPwd,
    reason: sigReason,
    location: sigLocation,
    contactInfo: sigContactInfo}
    app.endPriv
    } catch (e) {
    console.println("An error occurred: " + e);
    // set a correct password for using the signature, so you can quietly sign a doc.
    function SetUserPassword(pwd)
    sigUserPwd = pwd;
    // set path to the digital signature file
    function SetUserDigitalIDPath(idPath)
    sigDigitalIDPath = idPath;
    Sumit

  • Prerequisites for Acrobat SDK

    Hey! I just downloaded the Acrobat SDK and tried to run the samples for c#.
    The code breaks at  AcroExchApp = CreateObject("AcroExch.App") with error: "Cannot create ActiveX component"
    It is caused by the interop.Acrobat.dll and it means it could not find acrobat.dll.
    I wanted to know what are the prerequisites for the SDK? I could not find any documentation telling this with the SDK.
    Regards,
    Kangkan
    [signature deleted by host]

    What do you mean by "edit"?  In general, yes, it should be fine – but I'd need more specifics.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 3 Jan 2012 07:34:18 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Prerequisites for Acrobat SDK
    Re: Prerequisites for Acrobat SDK
    created by sidharthnitj<http://forums.adobe.com/people/sidharthnitj> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4115482#4115482

  • QTP Automation with Acrobat SDK

    Hi,
    I would like to verify the PDF content using HP Automation tool - QTP by opening the PDF and extracting the Text content from PDF.
    I am trying the OLE style and using a series of commands, as described in many postings. The first one is:
    CreateObject("AcroExch.App")
    It throws error, saying "Cannot create ActiveX component"
    From the Forums I found that it will not work with Adobe Reader and will work with Full Adobe Product with Adobe SDK.
    Now I would like to know which version of Acrobat will have Acrobat SDK.
    My Client already procured the below Acrobat Products.
    VLA ACROBAT 10  win universal English
    VLA ACROBAT 10 WIN Universal English STD to STD Upgrade ST-ST
    VLA ACROBAT Pro 10  win universal English
    VLA ACROBAT Pro 10 WIN Universal English STD to STD Upgrade ST-ST
    Pls let me know which product( which has Adobe SDK as well)  I should choose to proceed with QTP Automation.
    Any Advise/Help greatly appreciated.
    Thanks.
    Anand Muthunayagam.

    Check out http://labs.adobe.com/technologies/aptt/
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Fri, 28 Oct 2011 06:09:25 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: QTP Automation with Acrobat SDK
    QTP Automation with Acrobat SDK
    created by AnandMuthuNayagam<http://forums.adobe.com/people/AnandMuthuNayagam> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3995113#3995113

  • Use enhanced function of Acrobat SDK

    Hello,
    We would like to use Acrobat SDK to read PDF files (containing aircraft navigation charts) in our application (under QT), put in a window, trace objects on the image and print.
    There is no creation of PDF file, only read mode.
    We have tried Acrobat SDK joined with Acrobat Reader but there is not enough function in this case.
    We would like to use Acrobat SDK joined with Acrobat Professional to have enhanced functions.
    Can we then deployed to our customers our application with some DLL of Acrobat Professional ?
    Best regards

    As explained in the API documentation, there are many functions of the SDK that are not available if you have not Acrobat Professional.
    For instance, all functions in:
    - AcroExch.PDDoc
    - AcroExch.PDPage
    So, it is not possible to select a part of a PDF and redraw, to control the scroll and zoom, and so on.
    The only functions available in the SDK with Acrobat Reader is contained in AxAcroPDFLib.AxAcroPDF.
    Unfortunately, it is very limited.

  • Acrobat SDK Licensing and Server Deployment

    Hello,
    I have a couple of questions regarding deploying a .NET Web Application that uses the Acrobat SDK (only for PDF merging).  Currently, I have a license for Adobe Acrobat (which gave me access to the SDK to develop the merging).  For other developers to work on the same project, they will also each need their own Acrobat license in order to develop with me, correct?
    I've completed this project (again, a .NET Web app) and it will be hosted on a web server as part of a larger website.  The application generates some PDF reports and will merge the documents together into 1 PDF.  The process will be run on the web server when a user clicks a button to generate the reports.
    My question is, on the web server, what type of license is needed?  Is there a redistributable that can be installed on the web server for the AcroExch.PDDoc COM object (and everything else) or do we just need to purchase another copy of Adobe Acrobat and install that on the server?
    If any of this isn't clear, please let me know.
    Thanks!

    Well, read through a bunch of docs and I believe I may know the answer to my question.  It looks like the PDF Library is what I would need to use in order to create applications that I can then deploy to other users or in my case, a server.
    The question I still have is, is it still valid to just install the Acrobat SDK on the server (I have an extra license)?  Would it still work (since I'm not using any of the specific PDF Library functionality that Acrobat doesn't have)?
    Thanks!

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • How can I find out the screen size of the users moniter using the Acrobat SDK?

    How can I find out the screen size of the users moniter using the Acrobat SDK? I need to know how much sreen real estate that is available on the users moniter. Is there some call that I can make from the SDK to discover the maximun X and Y coordinates?
    Thanks,
    Gregory

    Currently, I am testing on multiple moniters and it is defaulting to the moniter designated as the #1 moniter. For our purposes, this is acceptable. Once the two documents have loaded, the user can move and re-size at will.
    Gregory

  • Plug in for visual studio 6.0 in acrobat sdk 6.0

    Dear Friends,
    I am absolutely in to the pdf plug in work. Can any one please help me, to know that how to install the plug in for visual studio 6.0.
    I have installed acrobat sdk 6.0 , acrobat professional and visual studio 6.0 in my system.
    Please suggest me whether I have to download any other tool for this.
    Regards,
    Safee

    My problem has resolved... still thank you...
    I just follwed
    You must install the wizard manually. Simply copy the AcrobatPluginWiz.awx and
    AcrobatPluginWiz.hlp files from PluginSupport\Tools\Visual Studio App Wizard
    subdirectory of the Acrobat 6.0 SDK installation to the Common\MSDev98\Template\
    subdirectory of the Visual Studio 6.0 installation. The default path to copy from is
    C:\Program Files\Adobe\Acrobat 6.0 SDK\PluginSupport\Tools\Visual Studio App Wizard
    and the default path to copy to is C:\Program Files\Microsoft Visual
    Studio\Common\MSDev98\Template.
    Once the files are copied, the Acrobat 6.0 Plugin Wizard option will now be available in the
    File > New > Projects dialog.

  • How to use Acrobat SDK with C# and how much is it?

    I just want to know these info because I'm new here and I can't seem to find any answers to these here in the forums and on the Documentation.

    Hi,
    The Acrobat SDK is free and can be downloaded from http://www.adobe.com\devnet\acrobat. Please note to use the SDK you require Acrobat/Reader to be installed.
    As for using it with c#, there are a number of sample files in the SDK that can be used to learn. There is also documentation online and in the SDK.
    Hope thie helps
    Malcolm

  • Merging PDF / Page Numbers / Acrobat SDK V9  & LiveCycle

    Hello everyone,
    I use Adobe LiveCycle to create forms, Visual Studio 2005 and the Acrobat SDK for the application I'm programming to fill in these forms. The application fills in the forms and merges them with no issues.
    The problem I have is that these pages have page numbers in the upper right. I use the Page N of M object on these forms in LiveCycle. PDF page numbers are filled in correctly when filling in the forms, but when I merge PDFs, the pages keep their original page numbers. I've looked at the Windows - Interapplication Communications even using templates to no avail.
    How can I merge these pdf's and have my program renumber these pages correctly and how can insert pages anywhere I want in the merge document?
    Below is the code I use to merge the PDF's. It was posted in a forum.
    Sub MergePDF(ByVal ThePath As String, ByVal outFileName As String)
    On Error GoTo serror
    Dim dPDDocMerge As New Acrobat.AcroPDDoc
    Dim dPDDoc As New Acrobat.AcroPDDoc
    Dim strFiles() As String
    Dim numPage As Integer
    Dim TotalPage As Integer
    Dim objThisFile As IO.FileInfo 'get FileInfo object for file string
    strFiles = System.IO.Directory.GetFiles(ThePath) ' Read in the file names
    Dim b As Boolean ' mostly for testing purposes... could use it for error 'checking to make sure that a file is really added before deleleting it...
    For i As Integer = 0 To strFiles.Length - 1 ' run through all the files in 'the directory
    objThisFile = New IO.FileInfo(strFiles(i)) ' Get the extension
    If objThisFile.Extension = ".pdf" Then ' Only add in PDFs
    If dPDDocMerge.GetFileName = "" Then ' check if it's the first file
    dPDDocMerge = New Acrobat.AcroPDDoc
    b = dPDDocMerge.Open(strFiles(i)) ' open first file
    TotalPage = dPDDocMerge.GetNumPages
    Else
    dPDDoc = New Acrobat.AcroPDDoc
    b = dPDDoc.Open(strFiles(i)) ' open other files
    numPage = dPDDocMerge.GetNumPages ' get the page count
    TotalPage += numPage
    b = dPDDocMerge.InsertPages(numPage - 1, dPDDoc, 0, dPDDoc.GetNumPages, _ False) ' Insert
    End If
    End If
    Next
    'b = dPDDocMerge.Save(1, ThePath & "\" & outFileName) ' save file
    b = dPDDocMerge.Save(1, ThePath & "\" & "\MyTest.PDF") ' save file
    b = dPDDocMerge.Close()
    Exit Sub
    serror:
    MsgBox(ErrorToString)
    End Sub
    Thanks for any code or advice.

    You can't merge LiveCycle forms this way :(. LC forms are NOT standard PDF files and can't be processed in the same way.

  • Create pdf using Adobe acrobat sdk

    Hello,
    I'm new to this concept of using adobe sdk to convert a html into pdf.I would like to know few details regarding this..
    I went thorugh the documentation but I did not get any help about the vector image support in the pdf and I aslo want to know abot the dpi support in the pdf.
    I also want to know wether I can create a pdf form a Html page.
    thanks for the help.

    >I want this to be on the server.
    Ok, we can start there - or stop. The Acrobat SDK is for automating
    Acrobat. Acrobat must not be installed on a server. So you cannot use
    Acrobat.
    Adobe have a PDF Library, which can be licensed for server use. But it
    does not have any easy HTML to PDF converter.
    You might look into LiveCycle PDF Generator, a different application
    with a Java API and more, for server use.
    >The dpi what I was talking about was..in the pdf i want a logo to appear that would around 200-300 dpi.That logo is a vector image.
    This seems a contradiction. PDF files can store text, vector images
    and bitmaps/images. If you store a vector image, it remains vector and
    there is no dpi to worry about.
    HOWEVER if you can only convert HTML
    1. HTML does not support any vector formats
    2. HTML often forces images to 72 dpi.
    HTML is not suitable for print quality.
    Aandi Inston

  • How to Use Acrobat SDK for Automation Using VB or Perl

    Hi Forum,
    I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
    I am using Adobe Acrobat 9 Pro,
    I downloaded Acrobat SDK, but i don't know what else to do further, how to use??
    I tried to start learning SDK, but no proper documents i found to learn and start using SDK,
    Please suggest some guide or documentation for start learning Acrobat SDK (Step by Step guide)
    Here with I have created a small script to merge two pdf
    // Create a new PDF document:
    var newDoc = app.newDoc();
    // Insert doc1.pdf:
    newDoc.insertPages({
    nPage : -1,
    cPath : "/d/sathish/1.pdf",
    // Insert doc2.pdf:
    newDoc.insertPages({
    nPage : newDoc.numPages-1,
    cPath : "/d/sathish/2.pdf",
    // Save the new document:
    newDoc.saveAs("/d/sathish/myNewDoc.pdf");
    My code is working fine and merging properly,
    Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
    My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
    Please suggest me which will be very helpful to me,
    Thanks in advance
    Thanks & Regards
    Sathish V.

    It is a big SDK and to learn its features requires a lot of reading. But to start with I guess I should start with "Introduction to SDK".
    Since you want to control Acrobat from another application you should consider this under "Interapplication communication". You will be using OLE/COM.

  • Where to find file AForm32.api mentioned in Acrobat SDK?

    Hello everyone,
    A paragraph under the following path in Acrobat SDK
    "Acrobat Interapplication Communication > Interapplication Communication API Reference > Acrobat Forms Plug-In > Forms plug-in OLE automation"
    suggests to place the AForm32.api file in the Acrobat's plug-ins folder:
    Quote:
    Registration in the Windows registry (which is different from the class object registration described above) happens every time Acrobat loads the plug-in. Therefore, you must run Acrobat at least once with the AForm32.api file in the plug-ins folder before its type library can be found for object browsing within the Microsoft Visual Studio environment. This is also necessary in order to allow early binding. Declare the program variables as objects of the corresponding classes in AFORMAUTLib, and not simply as Object.
    Question:
    Does anybody know where can I get the mentioned file AForm32.api ?
    Thank you.
    surotkin.

    AForm32 is now AcroForm – it's the same thing.
    However, I don't believe that we expose the COM APIs in the Standard edition – only in the Professional edition.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 09:21:02 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Where to find file AForm32.api mentioned in Acrobat SDK?
    Re: Where to find file AForm32.api mentioned in Acrobat SDK?
    created by surotkin<http://forums.adobe.com/people/surotkin> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4043128#4043128

  • Acrobat SDK License Agreement Question

    The following is a section of the latest Acrobat SDK License Agreement from the Adobe website:
    "3.2  Development Restrictions.  You agree that You will not Use the Software to create, develop or use any program, software or service which . . . (b) can both (i) communicate with Adobe Reader Products and (ii) modify or save a PDF (Portable Document Format) document (including saving any modifications to a separate file for such documents);"
    Does this mean that I am NOT allowed to develop a program that both:
    Interfaces with Adobe Reader/Acrobat via the Acrobat SDK for PDF viewing purposes and
    Builds and modifies PDF's using third party component(s)?
    If the answer to the previous question is "YES", that means I can only use the Acrobat SDK in a program that is limited to PDF viewing and printing as far as PDF issues are concerned.  That would be very restrictive for a real world application that involves PDF's, especially when I am supposed to "add significant and primary functionality" as the license aggreement also states.

    How do I go about contacting "Adobe Legal"?
    Also, just to clarify our discussion on some subtle but important points . . .
    I understand that Adobe Reader is just that, a read-only application.  And, I understand that the Adobe solution for modifying PDF's is Adobe Acrobat.  I have components from 3rd parties that let me programatically modify PDF's.  So, from a strictly programming tools point of view, I don't need Acrobat to modify PDF's in my application.  The 3rd party components handle the PDF modification tasks.  I'm not trying to use the Acrobat SDK to modify PDF's, but rather only to view PDF's.
    So, when you say:
    "You can NOT use Reader to view PDF documents as part of a software solution that also modifies the PDF using some other technology"
    Do you mean:
    It is your understanding that using the Acrobat SDK for PDF viewing and 3rd party components for PDF modification in the same application constitutes a violation of the Acrobat SDK License Agreement?
    And when you say:
    "Acrobat, however, does not have this limitation"
    Do you mean:
    Adobe requires licensed Acrobat to be used for PDF modification in any application that uses Acrobat SDK for PDF viewing?  (In other words, PDF modification is where Adobe wants to make a profit.)
    Thanks for your input.

Maybe you are looking for

  • Logical standby Slow after starting auditing

    Hi: I have logical standby, which was keeping with the primary database, then we started auditing on the primary database(Database auditing.) , After starting auditing my Logical standby not keeping with primary, after doing reasearch we found out th

  • Hidden/Visible text fields in saved PDF

    I got some very helpful advice yesterday about deleting content from hidden boxes (text fields). I have another related problem that somebody might have an answer for. I have text fields that are hidden or visible depending on selections made in drop

  • My ipod wont turn on unless on charge! :(

    my ipod wont turn on anymore. i droppped it at the gym and now the only time it works is when it is on charge. i can't even connect it to iturns on my PC:( when its connected to the charger i can play a song but as soon as i unplug it it goes off aga

  • Navigation on All pages

    Hey Guys, I need help on getting a navigation bar automatically on all my pages... I made my first page with flash buttons and saved it as a template... now when i open the template and create my other pages and try to save to the remote server the b

  • There is no table dba_network_acls in my database

    there is no table dba_network_acls in my database I have created this database manually in oracle 11G manually. i think i have istall a package to create this table can anyone tell me the package name and how to install it or is there any other metho