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

Databases

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have created an Access database with a field called FileData which is of the type OLE Object. I then put an exe into the field using Access.

My ASP code should then download the file using this code:

Response.ContentType = "application/octet-stream"
Response.BinaryWrite objRS("FileData")

The code displays the normal download dialog and seems to download the file correctly. However, when the file is downloaded it does not have the correct icon nor will it run.

Any ideas?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top