User Tag List

Results 1 to 7 of 7

Thread: Cannot Open PDF File

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cannot Open PDF File

    I seem to remember being able to open PDF files (as I do Word files) by using the Special Conditions "Execute external program filename.pdf." It works for Word files but not pdf files. I've also tried opening them using the Vitalize plug in, again with no success. Any ideas?
    Thanks,
    Steve

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well if there isn't a program associated with pdfs on the host machine then they won't open.
    File associations are in the registry, but it isn't good practice for a program to modify it.

    If you want to open a pdf in a specific program just pass the pdf file to that program through the command line.

    You could even bundle a small pdf reader with your program that way you insure that the host machine has the necessary tools to use your program.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As I suspected, I can open PDF files at school running Win XP with no problem using either the execute external program or the Vitalize extension. So, it has something to do with Win 7 64 bit. This happens on both of my computers at home and both have the Adobe Acrobat reader installed and both open pdf files when they are double clicked. Word files open using both the above methods with no problem on my home machines also. I"ve checked and the file associations are set to .pdf. So why won't the pdf s open from inside MMF 2 Dev?

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It's as I already said.
    Execute the PDF reader directly and pass the pdf file name to it using the command line.

    It should work in both windows XP and Windows 7 with this method as long as the pdf reader is in the same location.
    I suggest using the %ProgramFiles% environmental variable to navigate to it accurately.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)
    Xhadoe's Avatar
    Join Date
    Sep 2007
    Location
    Earth, Milky Way
    Posts
    328
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You could try Sumatra PDF - http://blog.kowalczyk.info/software/...df-reader.html

    Nice, small PDF reader for Windows. You might be able to include it with your app, maybe contact the author and ask. There is an installer version, and a zip with an exe you can just run.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks to Xhadoe and UrbanMonk for their thoughtful suggestions which I might find a use for at a later date. Turns out that the problem was solved by updating the Adobe Reader to version 11. I guess that the Adobe Reader is not updated automatically like so many others.

    I then added some notes in my application about updating the Adobe Reader and included a link to their download site for anyone using the software.

    Steve

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)HTML5 Export Module (Steam)
    Xhadoe's Avatar
    Join Date
    Sep 2007
    Location
    Earth, Milky Way
    Posts
    328
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Please note that this makes your software constrained to Adobe's links never changing, and/or being reliable.

Similar Threads

  1. How do I open a PDF file?
    By mdlm in forum The Games Factory 2 - Technical Support
    Replies: 14
    Last Post: 21st June 2010, 12:27 AM
  2. Open a file as a txt?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 20th July 2009, 12:10 PM
  3. Cannot open include file: 'windows.h': Nosuch file
    By JasonDarby in forum Extension Development
    Replies: 12
    Last Post: 11th February 2007, 11:12 PM
  4. Can't open my .cca file!
    By bearcub in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th August 2006, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •