Edit document from VB 6 without Microsoft Word
Posted on 2006-05-18
I am currently writing a program which essentially reads from and writes to a .mdb database, and then based on some options. Selects the appropriate .doc file and the appropriate record from the .mdb and uses the MS Word control to open the doc in word, find and replace place holder values with the data from the database then print and close the document.
This is all working fine, my problem is that now I'm going to need to install and run this program on systems that dont have Word installed. Is there any way I can do a simmilar thing without needing Word? I'd prefer to keep the documents as .doc but its not essential.
I've already changed th program from using Access to read/write the database to using the Microsoft ActiveX Data Objects 2.0 Library so I wouldn't need Access installed.
Maybe there is something simmilar for Word?
Thanks for any advice.