Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

automatic merge/print COM object

Automatic merge/print COM object

________________________________


Hi,


We are trying to develop a COM object to automate the

following process so that it can be called in a batch

type mode on an NT server.


accept input data file name - list.csv (say)

accept merge template file name - list.doc

accept merged output file name - list.pdf

run MS Word to perform the mail merge

output results to the Acrobat PDFwriter print driver

to produce the output file.


We can acheive most of it but the problems we get are


1. stopping or overidding the dialogue boxes for the

print step,


2. detecting any errors that may occurr inside MS Word

and being able to process them - the thread locks up.


We have tried several variations but it seems to be

getting very long winded and it should be simpler.


We welcome any suggestions.


Thanks,


John.




Sign In or Register to comment.