how can i make a background thread ??

  • Thread starter Thread starter jam
  • Start date Start date
J

jam

dear all,

could anyone help me about telling me how can i make a background thread
displaying loading... when I cam calling a console application??

thanks..

jam
 
Hi,

I guess you just want to perform a long-running operation in the background
and display notification to the user on the progress.

For this you could go for threading, asynchronous method invocation, or the
BackgroundWorker component (Whidbey).

Heres the overview of async calls
http://msdn.microsoft.com/library/en-us/cpguide/html/cpovrAsynchronousProgrammingOverview.asp

Threading basics
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconmanagedthreadingbasics.asp

Whibey's BackgroundWorker component:
http://www.codeproject.com/csharp/backgroundworker.asp

HTH,
Rakesh Rajan
 
Hi,

You declare a thread as background setting Thread.IsBackground to true.
what you want is a little different and more complex , IIRC this was
discussed like two weeks ago, how to have a progress bar active while the
background thread perform a lenthly operation.
Do a search in google


Cheers,
 
Back
Top