Vb6: open pdf in form using pdf.ocx or acropdf.dll

Hi to all,
I have this kind of problem.
I need to open a pdf in a form, just for reading.
In a couple of threads, I found two ways to make this: using pdf.ocx or acropdf.dll.
In both cases, this solution works for me in debug, but not in deployed release.
I have two kind of problems:
- if the computer where I execute the program HAS NOT Adobe Reader installed, I have an error "missing dependencies" concerning acropdf.dll or pdf.ocx
- if the computer where I execute the program has Adobe Reader installed, I have an error concerning dll or ocx file version.
How can I solve these problems?
The best would be if I could use one of this components without installing Adobe Reader.
If you need further informations to understand the problem, you can ask me.
Thanks in advance for replies.
Bye
Nino

Post your problem in the forum for Acrobat SDK.

Similar Messages

  • Use pdf.ocx or AcroPDF.dll to open a pdf file in a form

    Hi to all,
    I have this kind of problem.
    I need to open a pdf in a form, just for reading.
    Even if my project is written in VB6, this is not the problem. It could be also in .NET, so I hope you don't reply anything about the development platform.
    In a couple of threads, I found two ways to open a pdf in a form: using pdf.ocx or acropdf.dll.
    In both cases, this solution works for me in debug, but not in deployed release.
    I have two kind of problems:
    -  if the computer where I execute the program HAS NOT Adobe Reader  installed, I have an error "missing dependencies" concerning acropdf.dll  or pdf.ocx
    - if the computer where I execute the program has Adobe Reader installed, I have an error concerning dll or ocx file version.
    The solution works only if the AcroPDF.dll file included in my project has a version equal to the Adobe Reader version installed on the customer's computer.
    How can I solve these problems?
    The best would be if I could use one of this components without installing Adobe Reader.
    If this is not possible, my further question is: if the Adobe Reader version installed on the customer's computer is greater than my AcroPDF.dll, will my project work?
    If you need further informations to understand the problem, you can ask me.
    Thanks in advance for replies.
    Bye
    Nino

    PDF.OCX was an UNSUPPORTED COMPONENT that stopped being included as of Adobe Reader 7.  Also, VB6 support stopped with Reader 7 as well.  As Adobe only supports Reader 8 and later, there is no need to worry about either.
    AcroPDF.dll is part of Reader - it isn't available separately.  So yes, your users will need to have Adobe Reader 8 or later installed on their computer.
    As long as you target Reader 8 or above, and AcroPDF.dll - you'll work with Reader 8, 9 and X...

  • PDF.OCX or AcroPDF.DLL

    We have a Powerbuilder 9 and 10 application that use to use PDF.OCX, but we can no longer register the
    file.  We have also read this is no longer supported so we started investigating AcroPDF.DLL.  Problem is no matter what we register, we receiv
    e an error and this was the same error we receive when we register the PDF.OCX.  We recently updated our machines to Windows XP Sp3, but that appears to be the only thing that was done.  I have downloaded the Acrobat SDK and cannot figure out what we'd do to have Powerbuilder be able to choose the com object.
    "DLL RegisterServer in acroPDF.DLL failed. Return code was 0x80004005"
    Any help would be appreciated plz.  Thanks.

    lrosenth
    e como é que posso instalar o AcroPDF.DLL no Delphi 7 ?

  • Opening a new form using a different connect string

    Hi All
    I have the following requirement. I want to open an new form (when button pressed) using a different connect string. I am planning to use open form so that the new form has its own session. But I donot want the new form to connect to the same database. How do I pass the database that I want to connect using open form.
    Rgds
    Arvind Balaraman

    The only way to change the connection is to execute the built-in LOGIN and connect to the desired database. You cannot pass this through the OPEN_FORM built-in.
    Example:
    LOGOUT;
    LOGON(uname, upass || '@' || conn_str);
    However, be aware that this will impact the first form too. This is expected behavior.
    See Oracle Bug 5004661 or the Forms Online Help for more details.
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=designing_forms/multform_db/at0505.html

  • How to open Batch Details Form using a LinkedButton?

    Hi all,
    I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form.
    Just like the Batch Number Transaction Report window, from the Batch Column.
    It's difficult because this document don't have the ObjectType.
    Thanks a lot.
    Cheers
    David

    Solved!
    I did this:
    From the MatrixLinkPressedEvent:
    if (pVal.BeforeAction)
                        switch (pVal.ColUID)
                              case "column":
                                BubbleEvent = false;
                                AddOnApplication.Application.ActivateMenuItem("12290");//Form for Batch Details
                                form.EnableMenu("12290", true);
                                bool _runThread = true;
                                while (_runThread)
                                    Thread.Sleep(500);
                                    try
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("40").Specific).Value = _dtGrid.GetValue("ItemCode", pVal.Row - 1).ToString();
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("62").Specific).Value = _dtGrid.GetValue("Batch Hide", pVal.Row - 1).ToString(); ;
                                        AddOnApplication.Application.Forms.ActiveForm.DefButton = "38";
                                        AddOnApplication.Application.SendKeys("{ENTER}");
                                        _runThread = false;
                                    catch (Exception){}
                                    finally
                                        _runThread = false;
                                        form.Freeze(false);
    And that's it.
    Hope this help to someone
    Cheers

  • Opening a separate form using Web.show_documen not working as intended

    My intent is to open a form in a totally different session from another form.
    I want to open FORM B from a trigger in FORM A and I want both to be active simultaneously.
    To achieve that I thought to use web.show_document in completely new borwser window from a trigger in FORM A.
    web.show_document (FORM_B_LINK,'_blank');
    But both forms still share same JRE session (according to Metalink Tech support.)
    Now what is happening is that FORM B opens(only if I use Synchronize after web.show_document call ) but FORM B is not active whenever FORM A is doing something. So they both are not active together.
    Please help me here how can I open two separate forms session.
    BTW, I can not use OPEN_FORM or CALL_FORM for various reasons
    Thanks in advance for your help

    Unless you have other reasons that contradict this, I
    cannot see anything that you can do with two browser
    windows that you cannot do with using
    OPEN_FORM(SESSION). That in effect creates two
    database sessions that are independent of each other
    and you should be able to do what you want.Hi Jan,
    Actually its not database session I'm worried about it is FORM session that is worrying me. Both FORM A and FORM B can not execute some code at the same time as they share same forms session (as far as I know).
    Let me explain my situation again. We have a PLL which is attached to lots of forms.
    This pll has functionality to perform some on-demand internal jobs like executing a report or exporting block data to execl or html etc). Depending upon the Job it may take some from few seconds to several minutes to finish the job.
    What I have to do add is the ability to monitor progress of the job and give our users ability to stop that job.
    And I think I can not achieve that using OPEN_FORM.

  • How to open Developer 10gR2 Forms using clients OS JVM?

    Hi,
    My users are having trouble trying to open oracle forms 10.1.2.0.2 and downloading JInitiator file 1.3.1.22 from F&rR AS for the first time. I've heard there's a way to configure my AS to let my users open the same oracle forms but using their own operating system JVM.
    With that I would not only be solving problems related to slow downloading and installation of JInitiator file but also problems that come up due to diferent OS and web browsers (IE 6, IE 7, IE 8, Mozilla, etc.) and their versions which are also part of the problem.
    Thanx for your quick response
    Regards,
    Roberto P.

    This is a confused and confusing issue. There are no quick fixes. Bear in mind the following points:
    Word is a client program. It can only open documents that can be seen from a client PC. If you cannot see your database server's directories from a client PC (and I would hope you can't) you cannot open that document.
    what you are left with is creating a copy of that document, transporting it to the client realm, and then overwriting it back on the server after your user has finished with it (if they're editing).
    there are many different ways of doing this, but they will probably involve writing an API in VisualBasic or Java. Alternatively you might look at Oracle's IFS.
    This is not the right forum for a detailed solution - try the Developer forum (or IFS if that floats your boat).
    Good luck, APC

  • Pdf.ocx acropdf.dll

    I have problem,
    my computer is install Create PDF:  "Acrobat 5.0" and "Acrobat 9.0" , and Viewer: "Acrobat 8.0 Reader"
    (Q1) Can same register that "pdf.ocx" and "AcroPDF.dll"
    (Q2) when open pdf file, that print to printer() is caller "Adobe Reader Printer_Function"
    or "self create Visual basic 6 code to print" ?
    Please!

    Pdf.ocx is an unsupported component for development - as well as being from older versions of Adobe Acrobat/Reader that Adobe no longer supports in general.

  • Searching an embedded PDF using the OCX control

    Does anyone have any thoughts on being able to search a PDF that is opened in a VB form using the OCX control that is provided with Adobe Acrobat?  Is the ExecCommand usable for this?  I'm simply trying to find the first instance of a search string in the document.  In the below snippet, I open the file; how do I find the string searchString?
    Thanks in advance.
    Dim FILENAME As String
    Dim searchString as string
    FILENAME = "C:\Users\jwollman\Documents\Research\Reform\full document.pdf"
    PDFViewer.LoadFile FILENAME

    Hi,
    If you open with the reader, the menu bar of Internet explorer will change. If you open inside the activeX, the menu bar will not change. If this is the case, I think is possible your configuration will not work because the activeX is not exactally the reader. For instance, if you navigate to a xdp/xfdf with Reader, you will be able to open the target PDF. However, if you make that with ActiveX you will not.
    regards

  • Cannot open/view/access interactive pdf form using Safari

    I was unable to open interactive pdf forms from websites with Safari 6 on my iMac. I received the following message:
    Quote
    To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html
    For further support, go to www.adobe.com/support/products/acrreader.html
    Unquote
    I still couldn't view/open/access the form even after I upgraded to Version 11.0.04 of Adobe Reader.
    This problem happens only (I believe) after I updated OS X and Safari. Previously I was able to do it without any trouble as recently as July 2013. However, I don't encounter any issue if it is just an ordinary pdf document especailly if it can be downloaded to be opened later.
    As far as I can ascertain, I don't have any plug-in except for McAfee SiteAdvisor 2.0, 1Password 3.9.0, AdBlock 2.5.46 (which is disabled), Evernote Web Clipper 5.7, and Open In Internet Explorer 1.0 (by Parallels).
    I am using OS X Mountain Lion 10.8.5 and Safari 6.0.5 (8536.30.1).
    Can anyone please help? Thank you.

    Thank you, Carolyn Samit and andyBall_uk, for your prompt responses and suggestions.
    Although I didn't follow your recommendations, they gave me some idea regarding what to do to resolve the issue.
    The solution is actually very simple. I uninstalled my existing Adobe Reader (using CleanMyMac 2 but I believe moving the app to trash should do it as well), downloaded a fresh copy (version 11.0.04) and reinstalled it again. When the software was being installed, it asked whether I wanted to make Adobe Reader (AR) the default PDF reader. I indicated OK and allowed installation to proceed and finish.
    After installation of AR, I reopened Safari and went to a website to click the link to the pdf form. And lo and behold, I was able to open/access/view the document! It worked with a second website.
    So the lesson is when installing an upgrade remember to make Adobe Reader the default PDF reader.
    I hope that this procedure can help others resolve their issue if they have a similar problem.

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • We are facing issue to open a static form PDF in Chrome Browser , which is loaded using Adobe FormService.Able to open in other browsers but not able to open the static forms in chrome with LC 11.0 version

    We are facing issue to open a static form PDF in Chrome Browser
    , which is loaded using Adobe FormService.
    Able to open in other browsers but not able to open the static
    forms in chrome with LC 11.0 version
    Below error message:
    The document you are trying to load
    requires Adobe Reader 8 or higher. You may not have the Adobe Reader installed
    or your viewing environment may not be properly configured to use Adobe Reader.
    For information on how to install Adobe Reader and configure your viewing
    environment please see http://www.adobe.com/go/pdf_forms_configure.
    Please let us know do we have any option for disabling
    <NoXFA/> tag by calling formService. RenderPDF() method on adobe service
    For dynamic forms its working by adding <NOXFA/> in
    DDX xml . only for static forms its not working because we are not using
    assembler service for this forms.
    Please let us know how we can disable XFA in static forms??????????????????

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • I created a pdf form and then iported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I wo

    I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike

    If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.

  • How To Open PDF Attached file use CLIENT_HOST 11 g forms

    How to open pdf file on client side at 11 g forms ?
    when i open any attached (PDF )file on client side is not open those file open on server side plz guide me how to  open those file on client machine using client host?
    thanks

    Where is the pdf you are trying to open? Is it on the server or the client? If the file is stored on the server then you can access it using WEB.SHOW_DOCUMENT assuming it is stored in a place that has a virtual mapping. For example:
    WEB.SHOW_DOCUMENT ('http://server/someLocation/file.pdf','_blank');If the file is on the client then you need to configure your application to use WebUtil. Then you can do what Francois suggested.

  • Opening .pdf files from forms using OLE

    Hi,
    I want to open, print , save and save as pdf files from forms using OLE . Please help me with the same.
    Thanks
    Vidya

    If you are in client/server mode, you can put an OLE container component on your form. However, be warned that this method does not work when you convert to the forms server web enabled mode. If you anticipate moving your application to the web anytime soon, my advice would be to web-enable first and then add in the feature to view .pdf (or other) files. In our client/server app, I went to a lot of trouble to add in OLE features such as you describe, and now I have to completely re-write those features for the web.

Maybe you are looking for

  • Spanning columns in a grid messes up column widths

    Hi. I've been struggling with some layout issues when using column width percentages with the Flex Grid control. It seems that if I add a column that spans 2 or more columns, the column widths of the entire grid are altered. The strange thing is that

  • Applet comunicate with JSP

    how can an applet send variables to a JSP??

  • IWork bug won't let me save in new folders

    Hi I'd like to know why all my iWork apps won't let me save my files in new locations. Every time I try to save something it only lets me save my file to the page it automatically shows me (my documents). When I try to make a new folder within my doc

  • Little "big" problem with Reports 9i...

    Hi to all. I've a little "big" problem when i launching reports on the web. The reports services it's under SUN Solaris 5.9 and de 9iAS 9.0.2. Well when i launch the report the reports server give me this error: "REP-108: File '/tmp/pfj66590734.gif'

  • Trouble Dragging to Place

    I often place images in Illustrator docs just by dragging them from my finder. I've done it enough to know that it won't work if I'm trying to drag to a locked or hidden layer. I'm working with a document that is not letting me drag to place. I can u