Hi
Ignore the earlier reply. The code is as follows
Response.contenttype = "image/GIF" 'for gif. Can use image/jpeg for jpg images
Response.AddHeader "Content-Disposition", "attachment;filename=" & "<file-name>"
Response.BinaryWrite RecordSetObject.Fields("<field_name_where_data_is_ stored>").GetChunk "<size of file>"
Regards
Raj
|