Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
GeneralFinding a simple asp.net forum Pin
Andrlage5-Feb-04 10:56
Andrlage5-Feb-04 10:56 
GeneralRe: Finding a simple asp.net forum Pin
Mike Ellison5-Feb-04 14:14
Mike Ellison5-Feb-04 14:14 
GeneralRe: Finding a simple asp.net forum Pin
Andrlage6-Feb-04 4:09
Andrlage6-Feb-04 4:09 
GeneralRe: Finding a simple asp.net forum Pin
Mike Ellison6-Feb-04 6:55
Mike Ellison6-Feb-04 6:55 
QuestionRecording from moden using TAPI? Pin
visiontec5-Feb-04 9:45
visiontec5-Feb-04 9:45 
AnswerRe: Recording from moden using TAPI? Pin
Ray Cassick5-Feb-04 9:48
Ray Cassick5-Feb-04 9:48 
GeneralBest way to copy byte[] to string Pin
illsorted5-Feb-04 8:59
illsorted5-Feb-04 8:59 
GeneralRe: Best way to copy byte[] to string Pin
Kentamanos5-Feb-04 9:25
Kentamanos5-Feb-04 9:25 
GeneralRe: Best way to copy byte[] to string Pin
illsorted5-Feb-04 9:33
illsorted5-Feb-04 9:33 
Generalporting quke2 to c# Pin
Peter Reiter5-Feb-04 8:26
Peter Reiter5-Feb-04 8:26 
GeneralRe: porting quke2 to c# Pin
Heath Stewart5-Feb-04 18:20
protectorHeath Stewart5-Feb-04 18:20 
QuestionReally no way to free an object ? Pin
Andres Coder5-Feb-04 8:07
Andres Coder5-Feb-04 8:07 
AnswerRe: Really no way to free an object ? Pin
boogs5-Feb-04 8:51
boogs5-Feb-04 8:51 
AnswerRe: Really no way to free an object ? Pin
scadaguy5-Feb-04 8:53
scadaguy5-Feb-04 8:53 
GeneralRe: Really no way to free an object ? Pin
Andres Coder5-Feb-04 9:23
Andres Coder5-Feb-04 9:23 
GeneralRe: Really no way to free an object ? Pin
scadaguy5-Feb-04 9:38
scadaguy5-Feb-04 9:38 
GeneralRe: Really no way to free an object ? Pin
Andres Coder5-Feb-04 9:45
Andres Coder5-Feb-04 9:45 
GeneralRe: Really no way to free an object ? Pin
scadaguy5-Feb-04 13:56
scadaguy5-Feb-04 13:56 
GeneralCan't call a method with parameters when opening a thread Pin
Peter Mills5-Feb-04 7:27
Peter Mills5-Feb-04 7:27 
GeneralRe: Can't call a method with parameters when opening a thread Pin
Bill Dean5-Feb-04 8:39
Bill Dean5-Feb-04 8:39 
GeneralRe: Can't call a method with parameters when opening a thread Pin
boogs5-Feb-04 8:42
boogs5-Feb-04 8:42 
GeneralRe: Can't call a method with parameters when opening a thread Pin
Heath Stewart5-Feb-04 18:04
protectorHeath Stewart5-Feb-04 18:04 
In addition to Bill's recommendation (a good one), you can also use a worker thread, part of a thread pool so that the threads in your application don't get wildly out of the control (a thread pool has a max number of threads that can run concurrently, along with some other advantages). For more information, see the documentation for the ThreadPool class in the .NET Framework SDK, specifically the ThreadPool.QueueUserWorkItem. You can pass an object (which can be anything, including an array of other objects) to the delegate.

The method Bill mentions gives you a little more OO control, though, since you can set up and use such an object in a separate step, although the advantages of a ThreadPool can be nice, too. Just depends on what you need.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Can't call a method with parameters when opening a thread Pin
Peter Mills7-Feb-04 14:26
Peter Mills7-Feb-04 14:26 
Generalremoving registry garbages Pin
Shahin775-Feb-04 6:23
Shahin775-Feb-04 6:23 
GeneralRe: removing registry garbages Pin
Heath Stewart5-Feb-04 6:38
protectorHeath Stewart5-Feb-04 6:38 

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.