Click here to Skip to main content
15,902,939 members
Home / Discussions / C#
   

C#

 
AnswerRe: Array Help Pin
Joe Spaz25-Nov-09 14:42
Joe Spaz25-Nov-09 14:42 
QuestionParallel Extensions Pin
427748025-Nov-09 12:17
427748025-Nov-09 12:17 
AnswerRe: Parallel Extensions Pin
Nicholas Butler25-Nov-09 21:32
sitebuilderNicholas Butler25-Nov-09 21:32 
QuestionWeb authentication by code Pin
ika225-Nov-09 11:12
ika225-Nov-09 11:12 
AnswerRe: Web authentication by code Pin
Mycroft Holmes25-Nov-09 13:24
professionalMycroft Holmes25-Nov-09 13:24 
GeneralRe: Web authentication by code Pin
ika225-Nov-09 23:41
ika225-Nov-09 23:41 
QuestionUser Feedback while main thread is busy Pin
User 260419325-Nov-09 9:47
User 260419325-Nov-09 9:47 
AnswerRe: User Feedback while main thread is busy Pin
Luc Pattyn25-Nov-09 10:23
sitebuilderLuc Pattyn25-Nov-09 10:23 
Hi,

You MUST do the long operation in a separate thread (a Thread object, a ThreadPool thread, a BackgroundWorker, whatever) and NOT on the main thread as that needs to be available at all times to keep the GUI alive (and update all forms/controls, including progress bars).

If the long operation needs access to the GUI you may want to read this[^], unless a simple BackgroundWorker suffices.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


modified on Wednesday, November 25, 2009 5:00 PM

GeneralRe: User Feedback while main thread is busy Pin
Mycroft Holmes25-Nov-09 13:31
professionalMycroft Holmes25-Nov-09 13:31 
GeneralRe: User Feedback while main thread is busy Pin
Luc Pattyn25-Nov-09 14:16
sitebuilderLuc Pattyn25-Nov-09 14:16 
GeneralRe: User Feedback while main thread is busy Pin
Mycroft Holmes25-Nov-09 14:30
professionalMycroft Holmes25-Nov-09 14:30 
GeneralRe: User Feedback while main thread is busy Pin
Luc Pattyn25-Nov-09 14:45
sitebuilderLuc Pattyn25-Nov-09 14:45 
GeneralRe: User Feedback while main thread is busy Pin
Mycroft Holmes25-Nov-09 14:55
professionalMycroft Holmes25-Nov-09 14:55 
GeneralRe: User Feedback while main thread is busy {modified} Pin
Luc Pattyn25-Nov-09 15:02
sitebuilderLuc Pattyn25-Nov-09 15:02 
GeneralRe: User Feedback while main thread is busy {modified} Pin
N a v a n e e t h25-Nov-09 16:32
N a v a n e e t h25-Nov-09 16:32 
GeneralRe: User Feedback while main thread is busy {modified} Pin
Luc Pattyn25-Nov-09 16:50
sitebuilderLuc Pattyn25-Nov-09 16:50 
GeneralRe: User Feedback while main thread is busy {modified} Pin
N a v a n e e t h25-Nov-09 21:53
N a v a n e e t h25-Nov-09 21:53 
AnswerRe: User Feedback while main thread is busy Pin
DaveyM6925-Nov-09 11:03
professionalDaveyM6925-Nov-09 11:03 
AnswerRe: User Feedback while main thread is busy Pin
Shameel25-Nov-09 19:54
professionalShameel25-Nov-09 19:54 
GeneralRe: User Feedback while main thread is busy Pin
Luc Pattyn26-Nov-09 0:31
sitebuilderLuc Pattyn26-Nov-09 0:31 
GeneralRe: User Feedback while main thread is busy Pin
Shameel26-Nov-09 4:55
professionalShameel26-Nov-09 4:55 
GeneralRe: User Feedback while main thread is busy Pin
Natza Mitzi26-Nov-09 8:13
Natza Mitzi26-Nov-09 8:13 
GeneralRe: User Feedback while main thread is busy Pin
Luc Pattyn26-Nov-09 8:24
sitebuilderLuc Pattyn26-Nov-09 8:24 
AnswerRe: User Feedback while main thread is busy Pin
User 260419327-Nov-09 7:08
User 260419327-Nov-09 7:08 
Questionquestion related to homework Pin
netJP12L25-Nov-09 9:45
netJP12L25-Nov-09 9:45 

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.