Date:  10/20/2002 09:51:54 PM Msg ID:  000942
From:  Gene Gerard Thread:  000941
Subject:  Re: Displaying PDF
Here is a site that address this:
 
http://neodezign.tripod.com/launchacrobat.htm
 
Regards,
 
Gene
 
Sent by Joe Cooperrider on 10/20/2002 06:00:56 PM:
Hello all,
 
I am trying to write a function that displays a pdf file. I have a variable to store the passed file name. I am then trying to display the file with the following:
 
m.lc_filename=formfield("PDFNAME")
HML_OUT="Content type: application/pdf"+chr(10)+chr(10)+readfile(m.lc_filename)
return
 
It works on a couple of files but on 99% of files it returns the pdf code without launching Acrobat.
 
Any ideas????
 
Thanks