Click here to Skip to main content
15,915,600 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to get solution files from the dll Pin
Richard MacCutchan22-Jul-12 0:16
mveRichard MacCutchan22-Jul-12 0:16 
Questionmanifest files Pin
Member 823196321-Jul-12 13:27
Member 823196321-Jul-12 13:27 
AnswerRe: manifest files Pin
Trak4Net21-Jul-12 15:47
Trak4Net21-Jul-12 15:47 
AnswerRe: manifest files Pin
jschell22-Jul-12 7:00
jschell22-Jul-12 7:00 
GeneralDeclare variable as Interface vs. Class Pin
trinh.nguyen21-Jul-12 0:55
trinh.nguyen21-Jul-12 0:55 
AnswerRe: Declare variable as Interface vs. Class Pin
DaveyM6921-Jul-12 1:31
professionalDaveyM6921-Jul-12 1:31 
AnswerRe: Declare variable as Interface vs. Class Pin
Abhinav S21-Jul-12 5:28
Abhinav S21-Jul-12 5:28 
Questionblock data copy from pen drive to PC using c# Pin
haldin20-Jul-12 20:13
haldin20-Jul-12 20:13 
AnswerRe: block data copy from pen drive to PC using c# Pin
Abhinav S20-Jul-12 20:39
Abhinav S20-Jul-12 20:39 
AnswerRe: block data copy from pen drive to PC using c# Pin
Eddy Vluggen21-Jul-12 8:04
professionalEddy Vluggen21-Jul-12 8:04 
QuestionInvalid argument (Converted from VB.Net) Pin
Midnight Ahri20-Jul-12 17:12
Midnight Ahri20-Jul-12 17:12 
GeneralRe: Invalid argument (Converted from VB.Net) Pin
Wes Aday20-Jul-12 17:51
professionalWes Aday20-Jul-12 17:51 
AnswerRe: Invalid argument (Converted from VB.Net) Pin
Midnight Ahri20-Jul-12 19:00
Midnight Ahri20-Jul-12 19:00 
GeneralRe: Invalid argument (Converted from VB.Net) Pin
Dave Kreskowiak21-Jul-12 3:13
mveDave Kreskowiak21-Jul-12 3:13 
QuestionSelecting thread from multiples Pin
MAW3020-Jul-12 15:54
MAW3020-Jul-12 15:54 
AnswerRe: Selecting thread from multiples Pin
Richard MacCutchan20-Jul-12 22:35
mveRichard MacCutchan20-Jul-12 22:35 
QuestionRe: Backgroundworker Thread Issue Pin
munishk20-Jul-12 6:50
munishk20-Jul-12 6:50 
AnswerRe: Backgroundworker Thread Issue Pin
Ian Shlasko20-Jul-12 7:39
Ian Shlasko20-Jul-12 7:39 
You may have separated the actual work into the background thread (Though I don't see this doing anything but incrementing a counter), but your ReportProgress calls themselves can lock up the GUI.

Each time you ReportProgress, you're sending a message from the background thread to the GUI thread, which locks up the GUI thread for a tiny fraction of a second. If you're CONSTANTLY doing that, you'll find the GUI becomes locked up entirely.

Try to reduce the frequency with which you send status updates... Maybe only send an update every X iterations, and do some testing to figure out a good value for X.

And I assume you're planning on having the background worker do more than count, because that's really going to slow things down Smile | :)
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

AnswerMessage Closed Pin
20-Jul-12 7:56
WebMaster20-Jul-12 7:56 
GeneralRe: Backgroundworker Thread Issue Pin
munishk21-Jul-12 3:50
munishk21-Jul-12 3:50 
AnswerRe: Backgroundworker Thread Issue Pin
DaveyM6920-Jul-12 7:56
professionalDaveyM6920-Jul-12 7:56 
AnswerRe: Backgroundworker Thread Issue Pin
Sunil P V20-Jul-12 20:33
Sunil P V20-Jul-12 20:33 
GeneralRe: Backgroundworker Thread Issue Pin
munishk21-Jul-12 3:50
munishk21-Jul-12 3:50 
GeneralRe: Backgroundworker Thread Issue Pin
Sunil P V21-Jul-12 18:51
Sunil P V21-Jul-12 18:51 
QuestionProblem with Math.Tan Function Pin
computerpublic20-Jul-12 6:12
computerpublic20-Jul-12 6:12 

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.