Display embedded word documents in asp (1 Viewer)

H

harmmeijer

Guest
I have some access tables which need to be viewed from the Intranet.
The code in the asp page component looks like this:
... open my recordset where the pic field is my document and RS is my recordset
Response.ContentType = "application/pdf"
Response.BinaryWrite RS("pic")

This works fine as long as the pic field is really filled with the data, if you use access forms to put in a pdf, document or whatever the field is filled with access interpretation of the data.
Somebody said there is an OLE header added (OLE headache).
How can I display the pdf and word documents from asp???
 

Users who are viewing this thread

Top Bottom