So... I've got a form where the user selects some options and clicks a button. What I'd like to happen is that the form submits to itself (no prob), and upon returning it both redraws the form AND returns a... well, a Word document, sort of. Ideally the form would reappear in the browser window and Word would open the document at the address I sent back.
That is, I'm not trying to return a Word doc and an HTML form, but rather activate a link along the lines of \\ServerName\DirectoryName\File.doc and the HTML form, getting Word to open the file in question. I have no problem if IE insists on asking the user if they'd like to open or save it, if necessary, but I still want to effectively just send a link and have Word open it.
Does that make sense? Any idea on (a) how I return two things (I see it happen with "download" pages all the time, so I assume it's in the headers), and (b) how to send a link to be opened by Word, not the Word doc itself?
That is, I'm not trying to return a Word doc and an HTML form, but rather activate a link along the lines of \\ServerName\DirectoryName\File.doc and the HTML form, getting Word to open the file in question. I have no problem if IE insists on asking the user if they'd like to open or save it, if necessary, but I still want to effectively just send a link and have Word open it.
Does that make sense? Any idea on (a) how I return two things (I see it happen with "download" pages all the time, so I assume it's in the headers), and (b) how to send a link to be opened by Word, not the Word doc itself?