|
Hi.
I'm using the following code to create a word document from an ASP web page
<%Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=Project_"&projectlookup&".doc "%>
This works great, can gives the option to save or open. But if after they have opend the file or even saved it then open. When they click the save button it defaults to HTML not .doc.
Ok the work around is to use save as for the first time. But is there any way of locking it into not defaulting .HTML after all it is a.Doc in the first place.
|