Thread

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

Hi,
I have an application that is required to print labels.

One issue that I would like to clean up is that the application hangs for a
time while it prints the required label.

I have a Class to take care of the printing.

Could someone explain how I can call this class and have it run in another
thread so that it goes off and prints in the background?

Thanks

Doug
 
One more step after the last that Shivprasad listed.

Thread1.Start

Make sure that your print method exits when it is finished, so that the
associated thread is terminated.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top