Hi all,
I have a threading question.
I want to put my print routine in a thread of its own. Perhaps use multiple. But for right now, just one.
My print routine does the following:
Starts my PrintDocumentChooser class - it's a form w/ checkboxes that allows the user to select which documents need to be printed, how many copies and select the printer to be used.
Then starts excel, maps the data out to the appropriate ranges of the excel worksheet, and prints out the appropriate pages.
It then prints out a copy in Adobe PDF of one sheet.
then kills the excel process, and the acrodist process that was started and orphaned.
during this process my program seems to 'hang', so i would like to put my printing in another thread.
i would also like to have a progress bar that displays the printing progress.
what is the correct way to do this?
Start Free Trial