Ramakrishna,
> on mouseUp
> set ok = baOpenFile( "pdfs/"&"a.pdf", "maximised" )
> if ok = 31 then
> alert ("Install adobe acrobat")
> else
> baOpenFile( "pdfs/"&"a.pdf", "maximised" )
> end if
> end
This code works OK, if you change "/" to "\". Generally, using "\" (DOS
style delimiter) is the variant of choice if you work on Windows system.
Araik
[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!]