Thanks Bruce,
I have got the PDF streaming sorted, but am having problems with the PPS/PPT files as the code below is forcing a file a download diolouge for the ASP file. Any suggestions?
Thanks
------
<
%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
dim path
path = request.QueryString("file")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<%
Response.ContentType = "application/mspowerpoint"
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = 1
objStream.Open
objStream.LoadFromFile "e:\xxx\xxx\" + path 'outside web root
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
%>
</body>
</html>