-
PDF from EXE w/ FScommand...won't work on a computer
Hello,
I relize that many people have posted "How do I open a PDF from a EXE". I know the solution is
In the projector file:
on (release) {
fscommand ("exec", "mypdf.bat");
}
In the bat file I have
@ echo off
start menu.pdf
exit
This works on every computer I test it on except my clients? He obviously thinks something is wrong with the project because he can't open it. Any ideas why this might not work on his computer? Anyone know the limitations of this?
Thanks
-
Lifetime Friend of Site Staff
Can he view the PDF file just by double clicking on it? If not, he needs to install the Acrobat Reader. Obvious? yes, but it never hurts to check.
If your clients machine has been "security hardened", the START.EXE file may have been removed to avoid potential exposure to some very easy to write malicious scripts. If that's the case, go to www.extendingflash.com and download a copy of my FREE utility called INVOKE.EXE, and try that instead of start in your BAT file.
If you want to supply the Acrobat Reader installer and automatically check for it when the CD is inserted, you can try another FREE utility called ExtChk (documentation and examples in the ZIP file) to check for support for a file type before trying to open the actual file.
Last edited by Northcode; 03-19-2004 at 03:15 PM.
-
Banned
Another alternative is to use
*********** JStart
http://jstart.***********.com
Download a FREE evaluation copy and try for yourself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|