Advertisement

10.22.2007 at 12:57PM PDT, ID: 22910052
[x]
Attachment Details

VB.Net Create a thread for printing

Asked by sgaggerj in Microsoft Visual Basic.Net, Visual Studio .NET 2005

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
[+][-]10.22.2007 at 01:03PM PDT, ID: 20126376

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, Visual Studio .NET 2005
Sign Up Now!
Solution Provided By: shawnlehner
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.22.2007 at 04:25PM PDT, ID: 20127646

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:30PM PDT, ID: 20127666

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:35PM PDT, ID: 20127680

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:37PM PDT, ID: 20127690

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:38PM PDT, ID: 20127694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:41PM PDT, ID: 20127702

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:44PM PDT, ID: 20127722

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.22.2007 at 04:47PM PDT, ID: 20127730

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 04:51PM PDT, ID: 20127753

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2007 at 07:52PM PDT, ID: 20128343

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2007 at 06:03AM PDT, ID: 20130588

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628