Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a pdf file? 1

Status
Not open for further replies.

Zylph

Technical User
Sep 10, 2002
4
0
0
NZ

why wont this initialise?

on mouseDown
open "companyorganisation.pdf"with"xtras\acrobat.exe"
end mouseDown

i put all of the acrobat stuff into a folder called xtras by the dir, and it opens acrobat, but it dosent open the file that i have specified, says it cant find it.
could this opening the acrobat from there (or from the original source) or will i have to add a reader to the exe when i create it
is there a simpler way? something that i have missed?


have a great day

 
I am having the same trouble getting acrobat.exe to open a pdf.

Shell "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe.exe ""path and file name here and yes keep all the quotes """""
 
Use BuddyAPI open command:
Code:
baOpenFile(the moviePath & "somePDF.pdf", "normal")
 
Hello,

I had the same problem. I used FileXtra4 from
I had all the .pdfs and a shortcut to the AcroRd32.exe in the same folder as the Projector file. It didn't like it if I put the .pdfs in a seperate folder.

The code i used to open the .pdfs was

on mouseDown

fxObj = xtra("FileXtra4").new()
put fxObj.fx_FileRunApp("yourPathToThisFile\AcroRd32.exe yourPDFName.pdf")
-- 1
fxObj = 0

end mouseDown

Hope that is everything and I hope that it helps someone! If you have any other questions post a reply and i'll try and help some more,

Katherine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top