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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP not opening in PDF applet

Status
Not open for further replies.

OceanDesigner

Programmer
Oct 30, 2003
173
US
The following code opens in the Word applet. I made a change to the content type to get this to open in the PDF applet, but it does not work. What am I missing?

Code:
<% 
'BUFFER THE PAGE AND SET TO PDF
  Response.Buffer = true
' Response.ContentType = "application/vnd.ms-word" 
  Response.ContentType = "application/pdf" 
%>

<html>
<body>
<table width="626">
  <tr><td><b>TEST PDF</b></tr>
</table>
</body>

<%
'FLUSH DATA
  Response.Flush
  Response.End
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top