Click here to Skip to main content
15,916,188 members
Home / Discussions / C#
   

C#

 
GeneralRe: Nested Class Pin
OriginalGriff10-Feb-10 2:02
mveOriginalGriff10-Feb-10 2:02 
QuestionFile associations and ClickOnce Application Reference files Pin
Baeltazor10-Feb-10 1:13
Baeltazor10-Feb-10 1:13 
AnswerRe: File associations and ClickOnce Application Reference files Pin
Tony Richards10-Feb-10 2:16
Tony Richards10-Feb-10 2:16 
GeneralRe: File associations and ClickOnce Application Reference files Pin
Baeltazor10-Feb-10 3:28
Baeltazor10-Feb-10 3:28 
QuestionXMLNode.SelectSingleNode [modified] Pin
swjam10-Feb-10 0:56
swjam10-Feb-10 0:56 
Questionwhat that means Pin
3bood.ghzawi10-Feb-10 0:55
3bood.ghzawi10-Feb-10 0:55 
AnswerRe: what that means Pin
OriginalGriff10-Feb-10 1:07
mveOriginalGriff10-Feb-10 1:07 
AnswerRe: what that means Pin
V.10-Feb-10 1:14
professionalV.10-Feb-10 1:14 
Questionwhat this means Pin
3bood.ghzawi10-Feb-10 0:51
3bood.ghzawi10-Feb-10 0:51 
AnswerRe: what this means Pin
Calla10-Feb-10 1:23
Calla10-Feb-10 1:23 
Questionprocess in c# Pin
noamtzu009-Feb-10 23:19
noamtzu009-Feb-10 23:19 
AnswerRe: process in c# Pin
Rob Philpott9-Feb-10 23:30
Rob Philpott9-Feb-10 23:30 
AnswerRe: process in c# Pin
Calla9-Feb-10 23:52
Calla9-Feb-10 23:52 
AnswerRe: process in c# Pin
PIEBALDconsult10-Feb-10 3:26
mvePIEBALDconsult10-Feb-10 3:26 
QuestionSplit Data Table Records into several parts and assign to different Threads Pin
prabhakar CSPL9-Feb-10 22:47
prabhakar CSPL9-Feb-10 22:47 
QuestionThreading Pin
MumbleB9-Feb-10 22:20
MumbleB9-Feb-10 22:20 
Hi Guys. I have a slight problem. I have written an app that processes various types of files. I create a Thread for each type of file being processed depending on a checkbox being checked.

Now, from each file processed I output totals to a label on the form. However, this only seems to work for the first two files being processed and the remainder does not get their totals output to the labels. Is this a known issue and is there a way I can get around this? The code is kinda long so don't really want to add any here now. But the process flow of the program is such.

1) User selects a searches for file to process.
2) User checks the appropriate checkbox.
3) Thread is started calling the block of code to run.
4) Once file is processed finalize by calling GC.Collect().

if user wants to process another file he unchecks the current chechbox, checks a new checkbox and searches for new file and above process is followed calling the appropriate Thread to run.

Can somebody advise why when running more than two "Thread" processes in succession results in the third and fourth not outputting totals to the Label's?
Excellence is doing ordinary things extraordinarily well.

AnswerRe: Threading Pin
OriginalGriff9-Feb-10 22:31
mveOriginalGriff9-Feb-10 22:31 
GeneralRe: Threading Pin
MumbleB9-Feb-10 22:43
MumbleB9-Feb-10 22:43 
GeneralRe: Threading Pin
OriginalGriff9-Feb-10 23:25
mveOriginalGriff9-Feb-10 23:25 
GeneralRe: Threading Pin
MumbleB9-Feb-10 23:35
MumbleB9-Feb-10 23:35 
GeneralRe: Threading Pin
Luc Pattyn10-Feb-10 1:57
sitebuilderLuc Pattyn10-Feb-10 1:57 
QuestionLoading an assembly from a new AppDoamin Pin
ThetaClear9-Feb-10 20:28
ThetaClear9-Feb-10 20:28 
AnswerRe: Loading an assembly from a new AppDoamin Pin
Rob Philpott10-Feb-10 0:11
Rob Philpott10-Feb-10 0:11 
GeneralRe: Loading an assembly from a new AppDoamin Pin
ThetaClear10-Feb-10 9:53
ThetaClear10-Feb-10 9:53 
QuestionRSync Pin
satsumatable9-Feb-10 19:22
satsumatable9-Feb-10 19:22 

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.