p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: How to display a PDF File in ASP file?


Message #1 by baohuan@w... on Mon, 26 Mar 2001 11:39:07 +0100
Hi, there,



Does anyone know how to display (or read) a pdf file in an ASP file?



I tired to use "ContentType" and "redirect" or "include" with no luck.

<%

Response.ContentType = "application/pdf"

Response.Redirect("test.pdf")

%>



Do I have to use "activePDF" just for display a pdf file?



Many thank in advance!



Baohuan

Message #2 by "Marcio G Macedo" <mmacedo@a...> on Thu, 29 Mar 2001 17:04:23
Hi,



Go to the address below for a full explanation for PDF files.



http://www.15seconds.com/issue/990902.htm 



Good Luck!

Marcio Macedo



> Hi, there,

> 

> Does anyone know how to display (or read) a pdf file in an ASP file?

> 

> I tired to use "ContentType" and "redirect" or "include" with no luck.

> <%

> Response.ContentType = "application/pdf"

> Response.Redirect("test.pdf")

> %>

> 

> Do I have to use "activePDF" just for display a pdf file?

> 

> Many thank in advance!

> 

> Baohuan


  Return to Index