I got a Visual Basic 6 application. I need code to perform mail merge to a OpenOffice document.
Summary of tasks;
1) For a specified OpenOffice document file path will be provided in the app.
2) Datasource file is .txt file
3) Code should open Document as read only and should use the data in datasource file to merge data on the document.
4) Merge LetterHeader from LetterHeader File
5) Merge LetterFooter from LetterFooter file
5) After the mail merge it should show the document.
Please provide a demo project so that I can test it.