I dunno, but I think the logic is twisted in that code. Try this one....and as far as
crashes go, its probably bcoz of a corrupt installation of one of your apps(Acrobat,
Director, BudAPI or the PDF file itself). And when it works, make sure to check it
from a projector. Never know what problems that might raise.
The code is:
on mouseUp
set ok = baOpenFile("pdfs/a.pdf", "maximised")
if ok = 31 then alert ("Install adobe acrobat")
end
<snip>
I tried with baOpenFile function but i want to check whether any application is
associated with pdf file so that it can be opened. This function returns 31 when there
is no application associated with the given filename.
<snip>
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]