Hi,
I haven't got BudAPI, but from what I gather from your code, it seems you have a lot
of redundant stuff running in there. I might be wrong, but here's a shot
Try this out:
on mouseUp me
if baFileExists("C:\Acrobat3\Reader\acrord32.exe") then
open the moviepath&"pdf/a.pdf" with the "C:\Acrobat3\Reader\acrord32.exe"
else
alert ("Please install Acrobat in C drive")
end if
end mouseUp me
Or it might be that your PDF or Acrobat installation might be corrupted. If I
remember, BudAPI also has some function that opens the file directly with the
associated program. And that would be a better bet. All users may not install Acrobat
in the same place on their machines. If there is no such command, you can still use
Ramesh's code to open the file with the correct path to Acrobat. All the best.
Regards,
Pranav
_____________________________________________________
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!]