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

Visual Basic

 
Questionhow to make only checked treenode could be clicked? Pin
sanyexian12-Nov-10 13:57
sanyexian12-Nov-10 13:57 
AnswerRe: how to make only checked treenode could be clicked? Pin
Dave Kreskowiak15-Nov-10 3:43
mveDave Kreskowiak15-Nov-10 3:43 
GeneralRe: how to make only checked treenode could be clicked? Pin
sanyexian15-Nov-10 13:21
sanyexian15-Nov-10 13:21 
Questionprogram word document to a PDF Pin
directred12-Nov-10 8:54
directred12-Nov-10 8:54 
AnswerRe: program word document to a PDF Pin
Richard MacCutchan12-Nov-10 10:01
mveRichard MacCutchan12-Nov-10 10:01 
AnswerRe: program word document to a PDF Pin
Richard MacCutchan12-Nov-10 10:02
mveRichard MacCutchan12-Nov-10 10:02 
AnswerRe: program word document to a PDF Pin
Dr.Walt Fair, PE12-Nov-10 10:07
professionalDr.Walt Fair, PE12-Nov-10 10:07 
QuestionQuestion on threading Pin
svanwass12-Nov-10 8:41
svanwass12-Nov-10 8:41 
I am attempting to write a multithreaded application.

The idea is to have a scripted exe run that takes a list of devices, strips out one device and its information into an array, creates a new object of a class. which contains a backgroundworker that contains a telnet object, to telnet to said device and perform simple work (just login at this time). I have 100 device I am doing this for.

So far, everything looks like it works. All 100 devices have a new class object and bgw worker created for them. My problem lies in how to determine when those have completed their work. This is a problem because the rest of the exe needs to process the results of my simple work but can only be done after all have completed.

How can I tell when the work is done? I was thinking about writing something into the RunWorkerCompleted event that tallys but that seems like not the best idea. Sigh | :sigh:

-Steve
AnswerThread manager Pin
David Mujica12-Nov-10 9:33
David Mujica12-Nov-10 9:33 
GeneralRe: Thread manager Pin
svanwass12-Nov-10 9:57
svanwass12-Nov-10 9:57 
GeneralRe: Thread manager Pin
svanwass12-Nov-10 10:23
svanwass12-Nov-10 10:23 
GeneralRe: Thread manager Pin
Jason Christian17-Nov-10 6:06
Jason Christian17-Nov-10 6:06 
AnswerRe: Question on threading Pin
Luc Pattyn12-Nov-10 10:23
sitebuilderLuc Pattyn12-Nov-10 10:23 
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 
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 

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.