By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,354 Members | 907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,354 IT Pros & Developers. It's quick & easy.

How to implement Word Automation in ASP.NET?

P: n/a
I have just started to rewrite an application using ASP.NET. One of
the main features of the application is automated letter production.
In the old application this had been accomplished using Word
Automation and mail merge. There doesn't seem to be very much
information on the net on how to accomplish this in ASP.NET. Can
anyone point me in the right direction?

Rachel.
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
From what I saw so far Word is still a COM based application so we cannot
merge from a dataset. So, what I do is generate the text file first (with
Dataset or Datareader), then I call a function to merge the template word
document (with fields already added to it), and finally I save the new
merged document to disk. Don't forget to make a reference to Word in your
..Net project. Then it's practically the same old story.
It seems that you can use XML with Word 2003...

"Rachel" <ra******@rocketmail.com> wrote in message
news:72**************************@posting.google.c om...
I have just started to rewrite an application using ASP.NET. One of
the main features of the application is automated letter production.
In the old application this had been accomplished using Word
Automation and mail merge. There doesn't seem to be very much
information on the net on how to accomplish this in ASP.NET. Can
anyone point me in the right direction?

Rachel.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.