Thanks for your help so far. I have inserted the following lines of code just before the HTML:
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=testword.doc"
From what I have read, this should prompt me to download a file called testword.doc, but instead the IE download window shows the filename being test.asp, the name of my asp file. The filetype parameter shows it is a Micrsoft Word file, however when I click Open or Save it gives the following error message:
"Internet Explorer cannot connect to test.asp"
I hope this helps clear up my problem.
|