From: bobojones on
Is there a way to create a word document when a submit button is pressed. I
have a form that is filled out and the data sent to a database but I would
alos like the data to be added to a work template and sent to someone by
email. Has this been done and if so are there any examples.

Thanks


From: Bob Barrows [MVP] on
bobojones wrote:
> Is there a way to create a word document when a submit button is
> pressed. I have a form that is filled out and the data sent to a
> database but I would alos like the data to be added to a work
> template and sent to someone by email. Has this been done and if so
> are there any examples.
There are several options:
1. Automate Word - people successfully do it but it is not recommended:
http://support.microsoft.com/default.aspx?scid=kb;en-us;257757
2. Use the appropriate mime type to cause the browser to open the html you
generate in Word (discussed in that kb article).
3. Use a third-party tool such as ASPOSE (www.aspose.com)

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"