Hello everyone
I have a problem in opening a pdf file from an
projector which is in d drive and the same file is in
d drive. I dint make this out.
Here is the code
on mouseUp
if baFileExists( "C:\Acrobat3\Reader\" &
"acrord32.exe" ) = 1 then
open the moviepath&"pdf/a.pdf"�
with the moviepath&"C:/Acrobat3/Reader/acrord32.exe"
else
alert ("Please install Acrobat in C drive")
end if
end
What iam doing is First iam checking whether the
acrobat reader is installed in c drive or not with the
buddyapi function baFileExits, if it is there iam
opening a file which is in pdf folder in the route of
the cd where the projector is there but it is not
working. I had a dought whether the path of the
acrobat is correct or not, then i tried by removing
the acrobar exe for the Acrobat3/Reader folder. Iam
getting a alert message the "please install the
acrobat in C drive"
I am able to open the application with the above code
but my file which is in pdf folder is not opening. I
am getting an error saying that "an internal error
occured"
I tried with the another application........
i.e I able to open an a.jpg file which is in the same
pdf folder from the installed photoshop in c drive
Here is the code
on mouseUp
if baFileExists( "C:\Program Files\Adobe\Photoshop
5.5\" & "Photoshp.exe" ) = 1 then
open the moviepath&"pdfs/a.jpg"�
with the moviepath&"C:/Program Files/Adobe/Photoshop
5.5/Photoshp.exe"
else
alert ("Please install Acrobat in C drive")
end if
end
This is working pretty well iam able to open a.jpg
file form the photoshop.
The only change in the both codes is in first one iam
trying to open an a.pdf file form acrobat and in
second one am trying to open an a.jpg file form
photoshop.
My first code is not working
I tryed a lot I did get why it is working with
photoshop and why not with acrobat
Plese help me any one
Thanks in advance
__________________________________________________
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!]