How do i standardize the path of Adobe to open a PDF file?

Hi all,
In one of my forms, i have created a Text Item (named as PDF1 ) in which i will display the name of PDF file and also have created a check box (named as CH1 & put in the block 'PDFCHK' ).
Here what i am doing is when i click on the check box, the PDF file opens (name present in the Text Item).
So i have written the following code.
DECLARE
  filename VARCHAR2(256);
  APPID PLS_INTEGER;
BEGIN
  IF :pdfchk.CH1 = 1 THEN
  filename :='C:\'||:PDF1||'.pdf';
  AppID := DDE.App_Begin('C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe '||filename,DDE.APP_MODE_MAXIMIZED);
END IF;
END;
The problem here is that since i have hardcoded the path of Adobe (C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe) , there is a problem.
In all the systems different versions of Adobe is installed & in different folder. So it does not work on all systems. So how do i standardize the code such that it searches the path itself or what can be the remedy to this???
Please help me on this?
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
Thank You.

Turn off the "Verify ...on Open" preference in the "Signature Verification Preferences" dialog. How to get there depends on the Acrobat/Reader version you have. in XI it comes up when you go to Edit->Preferences->Signatures->Verification->More...

Similar Messages

  • How to allow only the specified users/groups to open my pdf files...

    Hi there,
    I'm looking for resources/documents describing how to allow only the specified users/groups to open my pdf files by the Java API...
    I've found a sample code creating a policy in the following document.
    http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/wwhelp/wwhimpl/js/html/w whelp.htm?context=sdkHelp&topic=learn_lc_sdk_invokeremoting
    ( API Quick Starts (Code Examples) > Rights Management Service API Quick Starts > Quick Start: Creating a new policy using the Java API )
    But the sample code doesn't set recepients( users/groups ) who can open the pdf file.
    How can I make it ?
    Any samples ? or Does anybody can tell me which Java classes/methods I should use ??
    Policy#addPolicyEntry(PolicyEntry policyEntry) ??
    PolicyEntry#setPrincipal(Principal principal) ??
    or none of them ?
    Any hints are appreciated !
    Thanks.

    I'm not exactly sure what you are tying to do here, but typical approach when issuing one PDF par user/groups scenario goes like:
    1. Create policy for specific purpose and add principal (user/group)
    2. Apply policy on server side
    3. Deliver the file (via email etc...)
    If you are looking for sample codes, try quick start.
    http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?&accessible=true
    If you go "API Quick Start/Rights Management Service API Quick Starts", you might find something useful. I think you need "Creating Policies" or "Modifying Policies" for step 1 above, and "Applying Policies to PDF Documents" for step 2.
    Hope this helps.

  • I have uninstalled and reinstalled the most current edition of Adobe Reader, including the patch. When I open a PDF file, the screen is first grey, then viewable, but the message "Adobe Reader has stopped working" comes up. How do I remedy this?

    I have uninstalled and reinstalled the most current edition of Adobe Reader (11.9), including the patch. When I open a PDF file, the screen is first grey, then viewable, but then the message "Adobe Reader has stopped working" comes up. How do I remedy this?

    RR,
    One thing often tried first is to create a new document and File>Place the corrupted one to see how much may be rescued that way (remember to tick Paste remembers Layers in the Layer palette flyout/dropdown first, and to untick it afterwards).
    Here is a website where you can see whether it can rescue the file, and if it can, you may pay for a subscription to have it done,
    http://www.recoverytoolbox.com/buy_illustrator.html
    and another similar website,
    http://markzware.com/adobe-software/fix-illustrator-file-unknown-error-occurred-pdf2dtp-fi le-recovery/
    As far as I remember, the former is for Win and the latter for Mac.
    Here are a few pages about struggling with it yourself:
    http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-illustrator-ai-file/
    http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator-files.html
    http://kb2.adobe.com/cps/500/cpsid_50032.html
    http://kb2.adobe.com/cps/500/cpsid_50031.html
    http://helpx.adobe.com/illustrator/kb/enable-content-recovery-mode-illustrator.html
    Failing a full recovery, hopefully you have one or more earlier versions and/or bits of artwork saved before it happened.

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • How do I save the text I have typed in a PDF file in Adobe, then mail it.

    How do I save text that I have typed in a PDF file in adobe and then mail it
    Currently goes through without text

    You don't have to do anything special to save text you type as an annotation or in a form. What's probably confusing you is that if you view the PDF within iOS apps like Mail, it appears the text you typed disappeared. However, when you view the PDF file in Acrobat or Reader on Mac, Windows or other platform, the text is there. (It's a limitation of the native iOS PDF viewers.)
    If you've updated to the newest version of Reader, you should also get a dialog offering the choice between "Share Original Document" and "Share Flattened Copy". The dialog explains the difference between the options.

  • After installing Acrobat 9.4 I lost the choice to save or open a pdf file. How do I fix it?

    When using Acrobat 4.05 or 5.0 I was given a choice to open a pdf file or save the file. When I updated to Acrobat 9.4 I lost that option. It always opens the file with some different file name. If I disable the plug in Firefox does nothing. No save or open.

    You can see if you find an action in "Tools > Options > Applications" and change the setting for PDF files to always ask.

  • Why does the scroll mouse freez when opening a pdf file in the browser?

    My scroll mouse is freezing each time I opened a pdf file in different tab in the browser. When I close the tab (that open a pdf file), the scroll mouse back to normal.
    I use foxit to read a pdf file. I dont know if the problem occur when you use adobe product.

    Kaliber wrote:
    Before proceeding you must first launch Adobe Acrobat and accept the Enduser license agreement.
    And, did you do that?  The message will no longer occur once you opened Adobe Reader & accept the EULA.

  • Accept the enduser license agreement when opening a pdf file in the internet

    I have launched adobe reader when opening a pdf file in the internet i get the following error message
    Bevor proceeding ou must first launch adobe Acrobat and accept the Enduser license agreement
    am user of a mac book pro

    Kaliber wrote:
    Before proceeding you must first launch Adobe Acrobat and accept the Enduser license agreement.
    And, did you do that?  The message will no longer occur once you opened Adobe Reader & accept the EULA.

  • Adobe freezes opening certain PDF Files

    Hi!
    We have a problem with the new Version Adobe Reader 9. When you open certain pdf files by double clicking them in Windows Explorer, Adobe Reader 9 Window opens and then freezes at 100% CPU load.
    Other pdf files are OK.
    Open Adobe Reader first and then choose File - Open works too.
    Common thing of both pdf files is that they were created out of Winword printing it against a pdf printer called "pdf x-change".
    Open the file with Version 8 or Foxit Reader works.
    Any hints?
    Greets
    mosurama

    Sorry, no solution - i can not force everybody in the world to use adobe acrobat. Another customer had exactly the same problem with another pdf that was created by someone else

  • I have recently downloaded Adobe Reader 10.0 but when in firefox on the internet I want to open a PDF file on Company Announcements from Sydney Morning Herald Share Market news all I get is a black screen - why?

    Previously when I had Adobe Acrobat 8 on my computer when I clicked on the PDF file on the Stock Exchange through Firefox It would immediately open the file. I have tried to reload the earlier version of Adobe Acrobat but it they will not allow me to do so.

    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.

  • How to use OLE2 to call "Adobe" to open a PDF file and print it out

    I would like to print out PDF file when use click a button on the FORM. Anyone knows how to do it?

    I would like to know how to do it too; but I am still using Developer 6i.
    I have a bunch of PDF files and would like to print them inside of FORM.
    I am using the HOST command like host('C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe /p/h 123.pdf') to do it now; however, the problem is that I have to physically close "ADOBE" everytime, otherwise, the next PDF cannot be printed.
    Please advise how to do it Form6i?

  • How do I add the filename as an overlay on a PDF file compiled from images?

    I am creating pdf files from digital camera images and want to add the filename as a visible overlay (ie either in Header/Footer or as a watermark).  I can find all other alternatives eg Bates numbering, customised Header/Footer etc), but cannot find a solution to adding each image's filename to the image.  I can do it in Bridge but not Acrobat.

    Acrobat does not preserve the original filename information of images.
    You should it in another application (Photoshop?) and then import the final
    image into Acrobat.

  • How can I get the path of an existing file????

    Hi.
    I'm a newbie in Jsp development, so this question may appear trivial.
    How can I get the path into a String of an exixting file ..like ...
    String thepath = path_of("my file.txt");
    Thanks for your help.

    Try
    application.getRealPath("myFile.txt")

  • How can i get the path to config folder placed inside the jar file?

    Hi i have developed an RCP application using eclipse.
    In my application config directory is there.
    When i export my RCP application as JNLP Project the jar file is created which contains config folder inside it.
    When i download the application using java web start , how can i get the path to config folder placed inside the jar file?
    Will the config folder exists in local cache in my system?
    Help needed.
    -Deepak

    -- This works in CS6:
    tell application "Adobe InDesign CS6"
      set myDocument to active document
      set selectedRectangles to selection of myDocument
      set theGraphicsLink to file path of item link of (graphic 1 of (item 1 of selectedRectangles))
    --> "Macintosh HD:folder/folder/filename.tif"
    end tell

  • How do I find the path (source) of a document in mavericks?

    how do I find the path (source) of a document in mavericks?

    See if you can find the file using this program
    EasyFind – Spotlight Replacement

Maybe you are looking for

  • Com.sun.faces.saveStateFieldMarker after upgrading to JSF 1.1_02

    After upgrading from JSF RI 1.1_01 to 1.1_02 , "com.sun.faces.saveStateFieldMarker" is displayed at the bottom on my jsf-page. I scanned the forums and found some threads about this. However, I haven't found a proper solution to the problem. Any idea

  • To field the field blank

    i report i am calculating difference between start date  and end date. if end date is not greater than start date then i need to leave the result field blank  without specifiying any value.

  • Having trouble installing CS5.5 on lion 10.7.3?

    Are you having trouble installing CS5.5 on your mac (os lion 10.7.3)? Are you tired of receiving error reports (i recieved "exit code: 24" numerous times)?  there is an easy way without hacking your mac into bits. start your comouter in security mode

  • ITunes error code -3259

    Hi, I am trying to update a friends iPod Touch on a Lenovo ThinkPad T60, and keep getting the iTunes error code -3259. If it helps, iTunes in version 9.2, all updates have been performend, and it's an 3G iPOd Touch. Thanks, FNH

  • Mon iPhone 4S ne démarre plus

    J ai fais tous les tests préconise par sfr,rien ne se passe