I know you can use VBScript to create a Word document, if you have Word installed. If worst comes to worst, you could have C# write and execute some VBScript to create the document.
Does it have to be Word format? Any reason it can't be HTML, or PostScript, or something?
Word automation is pretty tricky. It might be better with Word 2007, but my experience with Word 2003 has been pretty labor involved.
We do a lot of automation for letters that populate bracket variables from items in a database.
Basically we use the interops in Visual Studio to open the word file, save off to .rtf, then parse the rtf for the bracket variables and do a sort of find and replace. Then after that we save it back .doc and save off a copy somewhere etc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.