Click here to Skip to main content
15,905,874 members
Home / Discussions / C#
   

C#

 
GeneralRe: Switch with Strings [modified] Pin
Scott Dorman11-Mar-08 2:50
professionalScott Dorman11-Mar-08 2:50 
GeneralRe: Switch with Strings Pin
Jammer11-Mar-08 9:15
Jammer11-Mar-08 9:15 
GeneralRe: Switch with Strings Pin
DaveyM6911-Mar-08 1:34
professionalDaveyM6911-Mar-08 1:34 
QuestionCOM Interop, COM+, C++ Unmanaged, C# .NET 2.0 Class Library->C# .NET 1.1 Class Library Pin
scottdj10-Mar-08 13:16
scottdj10-Mar-08 13:16 
GeneralRe: COM Interop, COM+, C++ Unmanaged, C# .NET 2.0 Class Library->C# .NET 1.1 Class Library Pin
Scott Dorman10-Mar-08 15:37
professionalScott Dorman10-Mar-08 15:37 
QuestionHow to do print in c#? Pin
Dong Kim10-Mar-08 12:31
Dong Kim10-Mar-08 12:31 
GeneralRe: How to do print in c#? Pin
Xmen Real 10-Mar-08 16:21
professional Xmen Real 10-Mar-08 16:21 
Generalform multithreading trouble!... Pin
Gilly Barr10-Mar-08 11:58
Gilly Barr10-Mar-08 11:58 
Hey There,

I created a program that splits a user-chosen file into a certain amount of parts.
In case the user chooses a really big file, I want the progress to be displayed in a text box ("Creating file 1" , "Creating file 2", etc.)

All the code works, except for the fact that it's not multithreaded. Meaning the user just sees these messages when the processing is over.

I looked the net and found several tutorials, but all too complicated.
The problem here is that the function I want to run Multithreadedly, needs to recieve a parameter (I don't know how to work with ParameterizedThreadStart correctly), and it needs to chenge the properties of the TextBox, but which I get the error "this control belongs to a different thread..".

Can someone show me a simple example, or point me into the right direction????

Thanks in Advance, gilly914
GeneralRe: form multithreading trouble!... Pin
Gareth H10-Mar-08 12:20
Gareth H10-Mar-08 12:20 
Generalnew Form/thread to remain open after main Application closes Pin
Alex4thDegree10-Mar-08 9:53
Alex4thDegree10-Mar-08 9:53 
GeneralRe: new Form/thread to remain open after main Application closes Pin
led mike10-Mar-08 10:04
led mike10-Mar-08 10:04 
GeneralRe: new Form/thread to remain open after main Application closes Pin
Alex4thDegree10-Mar-08 10:24
Alex4thDegree10-Mar-08 10:24 
GeneralRe: new Form/thread to remain open after main Application closes Pin
Christian Graus10-Mar-08 10:21
protectorChristian Graus10-Mar-08 10:21 
GeneralRe: new Form/thread to remain open after main Application closes Pin
Alex4thDegree10-Mar-08 10:26
Alex4thDegree10-Mar-08 10:26 
GeneralRe: new Form/thread to remain open after main Application closes Pin
led mike10-Mar-08 11:17
led mike10-Mar-08 11:17 
GeneralRe: new Form/thread to remain open after main Application closes Pin
Alex4thDegree11-Mar-08 3:58
Alex4thDegree11-Mar-08 3:58 
GeneralRe: new Form/thread to remain open after main Application closes Pin
led mike11-Mar-08 5:19
led mike11-Mar-08 5:19 
GeneralLoad Cursor [modified] Wrong Code Pin
lsconyer10-Mar-08 9:48
lsconyer10-Mar-08 9:48 
GeneralRe: Load Cursor Pin
Christian Graus10-Mar-08 10:24
protectorChristian Graus10-Mar-08 10:24 
GeneralRe: Load Cursor Pin
lsconyer10-Mar-08 10:34
lsconyer10-Mar-08 10:34 
GeneralRe: Load Cursor Pin
Christian Graus10-Mar-08 11:22
protectorChristian Graus10-Mar-08 11:22 
QuestionOracle Data Provider 11g: combining UDT and associated Array ??? Pin
faehne10-Mar-08 9:19
faehne10-Mar-08 9:19 
QuestionStrange Assembly Reference Issue Pin
classNoob10-Mar-08 8:36
classNoob10-Mar-08 8:36 
GeneralRe: Strange Assembly Reference Issue Pin
classNoob10-Mar-08 9:43
classNoob10-Mar-08 9:43 
GeneralRe: Strange Assembly Reference Issue Pin
classNoob10-Mar-08 10:05
classNoob10-Mar-08 10:05 

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.