Click here to Skip to main content
15,903,030 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Question on threading Pin
svanwass16-Nov-10 6:30
svanwass16-Nov-10 6:30 
AnswerRe: Question on threading Pin
Luc Pattyn16-Nov-10 7:08
sitebuilderLuc Pattyn16-Nov-10 7:08 
GeneralRe: Question on threading Pin
svanwass16-Nov-10 9:24
svanwass16-Nov-10 9:24 
GeneralRe: Question on threading Pin
Luc Pattyn16-Nov-10 9:41
sitebuilderLuc Pattyn16-Nov-10 9:41 
GeneralRe: Question on threading Pin
svanwass16-Nov-10 9:50
svanwass16-Nov-10 9:50 
GeneralRe: Question on threading Pin
Luc Pattyn16-Nov-10 11:29
sitebuilderLuc Pattyn16-Nov-10 11:29 
AnswerRe: Question on threading Pin
Tieske817-Nov-10 1:43
professionalTieske817-Nov-10 1:43 
AnswerRe: Question on threading Pin
Spectre_00117-Nov-10 2:38
Spectre_00117-Nov-10 2:38 
Save the thread class instances that you create into an array or IList<thread>. Once you have started all of your threads, you can loop through the array or list checking either the State or IsAlive property of each thread until all indicate that they are finished.

This way, you don't have to block your main thread while waiting for the other threads to finish. Your main thread can continue working and just check periodically to see if all worker threads have finished.
Kevin Rucker, Application Programmer
QSS Group, Inc.
United States Coast Guard OSC
Kevin.D.Rucker@uscg.mil

"Programming is an art form that fights back." -- Chad Hower

GeneralRe: Question on threading Pin
svanwass17-Nov-10 4:52
svanwass17-Nov-10 4:52 
GeneralRe: Question on threading Pin
Spectre_00117-Nov-10 4:56
Spectre_00117-Nov-10 4:56 
AnswerRe: Question on threading [modified] Pin
SLDWorks17-Nov-10 18:59
SLDWorks17-Nov-10 18:59 
QuestionHow to populate a listbox from one listbox? Pin
waner michaud12-Nov-10 6:59
waner michaud12-Nov-10 6:59 
AnswerRe: How to populate a listbox from one listbox? Pin
Dr.Walt Fair, PE12-Nov-10 9:58
professionalDr.Walt Fair, PE12-Nov-10 9:58 
AnswerRe: How to populate a listbox from one listbox? Pin
Tarun.K.S15-Nov-10 19:28
Tarun.K.S15-Nov-10 19:28 
QuestionMulti-project solution with common DLLs Pin
vvincent12-Nov-10 5:17
vvincent12-Nov-10 5:17 
AnswerRe: Multi-project solution with common DLLs Pin
Dave Kreskowiak12-Nov-10 6:16
mveDave Kreskowiak12-Nov-10 6:16 
GeneralRe: Multi-project solution with common DLLs Pin
vvincent12-Nov-10 8:54
vvincent12-Nov-10 8:54 
GeneralRe: Multi-project solution with common DLLs Pin
Dave Kreskowiak12-Nov-10 10:14
mveDave Kreskowiak12-Nov-10 10:14 
GeneralRe: Multi-project solution with common DLLs Pin
vvincent12-Nov-10 11:27
vvincent12-Nov-10 11:27 
AnswerRe: Multi-project solution with common DLLs Pin
_Erik_12-Nov-10 6:38
_Erik_12-Nov-10 6:38 
QuestionStrangest problem with interop on Win7 client and .ocx control Pin
Jon_Boy12-Nov-10 3:38
Jon_Boy12-Nov-10 3:38 
AnswerRe: Strangest problem with interop on Win7 client and .ocx control Pin
Jon_Boy15-Nov-10 4:19
Jon_Boy15-Nov-10 4:19 
QuestionPublish the vb.net application for only one user Pin
vijay248211-Nov-10 19:56
vijay248211-Nov-10 19:56 
AnswerRe: Publish the vb.net application for only one user Pin
DaveAuld11-Nov-10 20:10
professionalDaveAuld11-Nov-10 20:10 
GeneralRe: Publish the vb.net application for only one user Pin
vijay248211-Nov-10 23:10
vijay248211-Nov-10 23:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.