PDF File Upload

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Wed Oct 14, 2009 8:58 pm

Daniel,
are you shure that you loaded and unloaded the pdf file with binfile, than it should work.
Otherwise I dont have any idea.
regards
Bernd

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Oct 14, 2009 9:03 pm

bsouthuk wrote:...And strangely enough I cant open the PDF files but double clicking them on my desktop now - the same error message is displayed.

What on earth am i doing wrong here?
It is a long shot, but the files might be open for read access. Have you tried deleting the files and putting fresh copies in place? If that doesn't help, you might have to restart your comp (an advice I really never give, this is an exception!) It is also possible that the files are actually damaged or that Acrobat is damaged. If the latter is the case, it is no longer a Revolution problem, but re-installing Acrobat could help.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Post by bsouthuk » Thu Oct 15, 2009 2:11 am

Great thanks Mark

I've put this code in my button and when I click the button the PDF opens.

Now if I send this standalone to another computer will it still open? As in is the PDF document now uploaded/stored in my stack perminantly?

Cheers for your help

Dan

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Oct 15, 2009 8:49 am

Hi dan,

Since you don't exist as a user on the other computer, your script will not work, unless you compose the path in the way I already recommended.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply