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

How to download OLE Object from MS access?

Status
Not open for further replies.

shelbytll

Programmer
Dec 7, 2001
135
0
0
SG
Hi,

I have an Access Database with one of the field's data type as OLE Object. The data can be image, MS powerpoint, MS word etc etc.

How can I use ASP to download the file?

I have tried :
response.contenttype = "application/msword"
response.binarywrite rs("fieldname")

But when I open the file, it is chunk in it.
Moreover I have hard coded the content type. How can I know the content type too?

The user who input the data did not store contenttype or anything at all.

Thanks

I am a clever newbie...[peace]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top