Error opening pdf file, but then it still opens

I am having trouble when I open a pdf.I am using the code below to open a pdf.
on mouseUp me
  acro = bafindapp("pdf")
  if acro = empty then
    acrofile = me.pPDF
    alert "This program was unable to find a suitable program on your system to open a PDF document. It will open www.adobe.com, where you can download a free viewer"
    goToNetPage "http://www.adobe.com"
else
    open the moviePath & "Resource\" & me.pPDF with acro
  end if
end
When this is on a button, adobe reader will open, but gives an error saying "There was an error opening this document. This file cannot be found."
When I hit the ok button on the error notice, the pdf opens.
Any ideas why I am getting this message even though the pdf opens after dismissing the message would be appreciated.

The reason I assumed, or asked, whether it was Windows-only is because of your use of the backslash character as the folder delimiter. To make the script cross-platform try the following:
on mouseUp me
  acro = baFindApp("pdf")
  if ( acro = EMPTY ) then
    alert "This program was unable to find a suitable program on your system to open a PDF document. It will open www.adobe.com, where you can download a free viewer"
    goToNetPage "http://www.adobe.com"
  else
    mPath = _movie.path
    tFile = mPath & "Resource" & mPath.char[length(mPath)] & me.pPDF
    if baFileExists(tFile) then
      OK = baOpenFile(tFile, "normal")
      if ( OK < 32 ) then
        -- see docs for numbers and their meaning
        alert "Error opening file:" && OK
      end if
    else
      alert "File not found:" &RETURN& tFile
    end if
  end if
end

Similar Messages

  • I used to be able to open pdf-files but then all of a sudden I have problem opening them. Why? I have already tried all the steps in Troubleshooting.

    I have also recently installed Adobe Acrobat 6.0 Professional. Could that be the reason?

    Because you had the printer connected to Windows, the print queue on your Mac was for this connection. With you moving the printer away from the Windows computer, the print queue on the Mac will no longer work and will show offline. So for the new connection of the printer you have to create a new print queue.
    Now the question is; how is the printer connected to the Mac. If it is connected by USB to the Mac then it should appear in the Default Add Printer view. If it is connected to the Mac via some other method, then could you reply with how it is connected.
    If it is connected to the Mac by USB then the most likely cause for the printer not appearing in the Default Add Printer view is thenUSB printer cable. So try disconnecting it and reconnecting it or even try another USB printer cable.

  • ORA errors in PDF file

    Sir,
    I have the ORA-ERRORS in .pdf file, but the version is for Oracle 8i database.
    Someone knows where can I find this file but up to date for Oracle 9i or 10g ?
    Thanks

    Hi,
    In addition, you can take a look on books link and search for "Error Messages"
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3
    Cheers

  • We have a mac laptop and dont have any problems with pdf files but our imac will not open them.  any suggestions

    we have a mac laptop and dont have any problems with pdf files but our imac will not open them.  any suggestions?

    Back up all data.
    In the Finder, select Go ▹ Go to Folder from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Downloaded certain files from my old computer on a memory stick.Have inputted stick into my new mac and can open PDF files but not xlr,aww or eps files.Is there a solution to this please?

    Transferred certain files to my new Mac from my old computer via memory stick.Can open PDF files but not xlr,aww or wps ones.The important ones are in xlr format.Is there a solution please?

    My guess is they don't care. Most likely they're illiterate and don't know what a colon is for. They probably think it's a little-used character. Remember: these are the people who don't know the difference between "deprecate" and "depreciate".
    I have the same colon problem as you do. But it's not the biggest problem I have encountered in Lion. If it was only that I'd be Mr. Delighted with Lion. There's worse than having a colon - uh -  that won't cooperate. A lot worse, in Lion.

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • HT201317 When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • In documents I can open pdf files but none of the others

    When I go to documents I can open pdf files but nothing else. Same on downloads. I have lots of info I've downloaded over time and I often use it. Can I just go back and use internet explorer for that and if so how?

    Opening in the side bar is the default for bookmarks that are created via a link or button on a website.<br />
    You can check the Properties of a bookmark via the right-click context menu in the side bar (Ctrl+B; Cmd+B on Mac).<br />
    In the Bookmarks Manager (Bookmarks > Show All Bookmarks) you can click the More button in the Details pane at the bottom right.<br />
    Make sure that "Load this bookmark in the side bar" is not selected.<br />

  • Hi! I've just downloaded my PDF file but when I open it with adobe reader for iPhone, the toolbar do

    Hi! I've just downloaded my PDF file but when I open it with adobe reader for iPhone, the toolbar doesn't show! Can please anybody tell me why?

    Hi Elena, you have to tap on screen of iPhone, toolbar will just slide in.
    -Charu

  • Acrobat 9.3.4 no longer finds bookmarked non-PDF files (and then launches assoc app)

    I produce a documentation DVD consisting of a one-page PDF file of ~ 1400 bookmarks and a lot of content.  The bookmarks point to the content on the DVD which includes pdf files as well as text, DOC, XLS, and other misc. file types, and a large number of html, swf, flv, .jpg, etc. files which make up 4 complete web sites.  The web sites are entirely contained on the DVD (no extermal internet access is referenced or required)
    Content is accessed by clicking a bookmark which simply opens the file (regardless of type.)  Prior to Acrobat 9.3.4, appropriate warnings popped up for non-PDF files but if allowed by the user, the appropriate app was launched for the requested file.
    Since applying 9.3.4, a "Launch File" warning box pops up showing the file name (which lacks a device) and when the warning's "Open" button is pressed, a Windows error appears with the message "Windows cannot find 'file.txt'.  Make sure you typed the name correctly, and then try again.  To search for a file....  ", and finally an Adobe Acrobat information box pops up and says "Could not open the file 'path/file.txt'  ".
    I have read and re-read about launching external apps, restricted urls and attachments, trust manager preferences, etc. etc.  I've added the files to the privileged locations list under the enhanced security settings and on and on.  It no longer works, yet I tested this DVD on several computers just last week and it worked fine. So, as a shot in the dark, I decided to fire up my laptop and test it there again.
    Once on, the laptop immediately wanted to update about 12,000 software products but I politely said "No, wait until i test this out!"  The test was successful and the DVD's pdf file worked great again!  At that point I let the machine apply the Acrobat 9.3.4 update (and some uncountable number of Windows patches and fixes.)  It's running a current version of Win7.  After the reboot, i tried the DVD again (under Acrobat 9.3.4) and it failed as described above.  Because of Win7 I was able to revert to acrobat 9.3.2 using System Restore.  After doing that, the DVD worked again.
    Most of our user's machines are either Macs or WinXP (current versions) and i haven't had time to figure out if you can even recover from this update under those OS's.  (It says you cannot remove it from XP, however.)  Regardless, even if i can do it for my laptop and get it working again, i cannot do it for all of our users.
    So, my question is if i am not doing something wrong, how do i let someone at Adobe know this release is broken??  If i am doing something wrong on the other hand, what is it and how do i get this to work again??
    Thanks all.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • Error: f14627469cba51.pdf file is too large for attachment

    Hi,
    Recently we migrated lot of crystal reports from BO XI R2 environment to BO 3.1 SP2 FP 2.5 environment, these crystal reports are integrated with the application.
    Input parameters are given through the application using the Open Document URL and the report will open through the infoview.
    This particular error arises when we try to open the report as PDF using Open Document URL,
    Please find the URL below
    http://bodev.com/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AUwcueYTQwtLhWDlil29Nvc&sOutputFormat=P&lsS@INVOICEDATE=1/31/2010&lsS@REFSERVICEID=1&lsS@BILLINGCYCLE=1&lsS@INVPREFIX=SC1001&lsS@GUID=99b18bcb-9470-4a49-948d-73961c149f5e
    But we are getting the following error
    "f14627469cba51.pdf file is too large for attachment"
    Please help me out to resolve the issue.
    Thank You,
    Palani Kumar
    +91-9840865865

    Hi Jeff,
    Did you figure out the solution to this problem?
    I also getting the same problem while refreshing crystal report from 3rd party tool using dswsbobje service session
    "Failed to retrieve binary view of the report. 14546ada1c151418.pdf File is too large for attachment. (WRE 02527)"
    Please let me know if you find any solution.

  • I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • Why suddenly will Adobe not print a PDF file but will only save as .prn file I cannot print

    Why suddenly will Adobe not print a PDF file but will only save as .prn file that my computer will not recognize?  This is a new problem never experienced before.  I have tried updating all versions of Adobe Reader but still no results.

    Turn off the "print to file" option.

  • I scan a page to PDF file, but I  couldn't to highlight it.

    I scan a page to PDF file, but I  couldn't to highlight it. I use Adobe Reader, is any way I can use this funtion?

    You need run OCR first using Acrobat, then you should be able to highlight text.

  • Adobe Acrobat 9 - Print certain webpage as PDF file but some of its contents were corrupted

    Print certain webpage as PDF file but some of its contents were corrupted as non-readable alphanumeric.
    Preview of the PDF file shown OK but when printed, its contents were corrupted.
    Adobe Acrobat 9 Professional reinstalled but problem persists.

    It is Acrobat printing to a PDF file using Acrobat 9 Professional because I have no printer attached.
    The preview before printing showed every words OK but when printed to the PDF file, some alphabets and numerics were corrupted and the words were NOT readable.
    See the following:

Maybe you are looking for

  • Error when deploying a new forms .ear file

    Hi all I get the following eror when trying to start forms: Starting OPMN managed FORMS OC4J instance ... Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed... Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/

  • Selecting records based on the flag

    Hi All, I have records like the following Program_Name Effective_Date Valid_Flag ABCD 2/10/2012 N ABCD 2/14/2012 N ABCD 2/20/2012 Y ABCD 3/01/2012 N ABCD 3/10/2012 N ABCD 3/14/2012 Y ABCD 3/25/2012 N ABCD 3/26/2012 N ABCD 3/27/2012 N ABCD 3/28/2012 N

  • Can we create a database index?

    Hi all.. Can we create a database index for a customised table? and later on can we change the same database index? Also if possible please provide me with a suitable link for this topic. Thanks

  • Final Cut Pro "send to YouTube" fails.

    I have been successful previous times in exporting from final cut pro x to YouTube until a few weeks ago. Now my 10 minute videos process for upwards of 3 hours and near the end it says upload failed. I then grab my project that successfully rendered

  • HT1222 Could Not Activate iPhone, Ios7 Reset my phone and now it wont work

    Could Not Activate iPhone, it was active before the upadte