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 strongm 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 objects from access?

Status
Not open for further replies.

shelbytll

Programmer
Dec 7, 2001
135
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