>To register a software here in Brazil, is necessary to print the whole application code and the price to pay is based on the total number of pages.
>I'm using PDM to document our application, but I'm having problems to convert these files to pdf (using PDFCreator) to know the total number of pages.
>I've developed an application to read all folders created by PDM and print and concatenate all html files using PDFCreator COM interface, but every html file printed open the print dialog box and I don't find any workaround at this moment.
>I need to automate this process because we have up to 10 applications to document and the documentation is very large.
>Someone knows another software to document our applications or have another idea on how to do this?
Did you review the possibility to send key strokes to the open dialog? See for instance Message #
949414. It is not exactly what is needed to control the dialog, but you can find here on forum something more close, I believe
Also, as alternative, you may use Word.Automation following the scenario like:
- open MS Word,
- open html documents there,
- combine them in one DOC file
- print the file using printout method where you can pass the FileName to where to print
*.PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName)
Best Wishes