I am using .Words to do some document modifications. Basically, here is what I need to do, but I’m not sure of the best way to go about it.
- I have a template (.doc) that I need to open.
- I need to modify the template by inserting some variables using bookmarks.
- I need to immediately stream that document to the user’s browser so they can open or save the new document.
I can accomplish 1 and 2, but not sure how to go about 3. I know I can save the modified document using .Words, then open the document using the FileInfo object, but I really don’t need to save it. Is there a way I can accomplish 3 without phsyically saving the modified document to the server before I flush the file to the user?
Thanks in advance,