Word integration -> mail merge

AndyMC

Member
Joined
Feb 12, 2003
Messages
10
Hello everybody!

I need to integrate my VB.net application with MS Word (Visual Studio.NET 2002, MS Word 2000 and/or 2002).

For example I have to create a serial letter from within my application and I would like to fill the mail merge fields with data from my ADO.net dataset or from a XML file.

Does anybody know how to achieve this?
Does anybody have sample code?
Do I have to use COM?
Do I need MS Access as an "intermediate data source"?

Thanks for help in advance
Andy
 
Not sure as I have not tried this but see if creating a Word application object helps.

Youll need to add a reference to Microsoft Word 10.0 Object Library.

I presume through this youll be able to access your Word document and dataset seamlessly
 
Back
Top