Hello everyone
As Pranav and Araik there will a posibility of having
an application which will open the pdf file.
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.
So I tried with this code
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 is working file
Iam able to open my pdf file from acrobat
but the application is getting closed with illegal
operation .
Can anyone try this code and tell me the result
thank u in advance
Ramakrishna
Project Coordinator
NetworkAppliances
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.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!]