Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
AnswerRe: image upload/retrive from sqlserver 2000 Pin
Christian Graus23-Nov-07 18:46
protectorChristian Graus23-Nov-07 18:46 
Questionwhere we can found webservices [modified] Pin
Satish - Developer23-Nov-07 17:58
Satish - Developer23-Nov-07 17:58 
AnswerRe: where we can found webservices Pin
Christian Graus23-Nov-07 18:48
protectorChristian Graus23-Nov-07 18:48 
Questionplace datagrid values in another windows form Pin
avvaru.murali23-Nov-07 17:40
avvaru.murali23-Nov-07 17:40 
AnswerRe: place datagrid values in another windows form Pin
Gopal.S24-Nov-07 0:25
Gopal.S24-Nov-07 0:25 
QuestionExcel VBA - how to replace with .NET C# modules? Pin
devvvy23-Nov-07 16:46
devvvy23-Nov-07 16:46 
AnswerRe: Excel VBA - how to replace with .NET C# modules? Pin
Paul Conrad25-Nov-07 9:19
professionalPaul Conrad25-Nov-07 9:19 
QuestionBackground Worker Component and Hanging Forms Pin
Ian Uy23-Nov-07 16:37
Ian Uy23-Nov-07 16:37 
Good Day,

I am using the Bgworker component in C# to do some CPU Intensive and time consuming work.

This work, to be exact, is to make a matrix (2D Array) out of a byte array.
So that's, byte[] 1D -> byte[,] 2D

So I'm using a for loop to do the convertion, so every step in the loop, I call the MatrixFormation_ProgressChanged to update the progress bar.

Now I ran the application but the problem is, eventhough I'm using BGWorker, when I try to do something with the form (Click on something, Minimize, Maximize, Move the Window) the form will just freeze (But the thread is running). After the process, the form will be back with the message "Matrix Completed!", the results are okay.

I also noticed that if I removed the ProgressChanged event to trigger the progress bar to update, freezing won't occur.

So how can I make the form NOT TO FREEZE during the work process without removing the ProgressChanged event?

PS: Matrix Formation isn't the only job I'm working so suggesting to change the process of the matrix formation won't help me. Frown | :(

Thank you in advance. Wink | ;)
AnswerRe: Background Worker Component and Hanging Forms Pin
Luc Pattyn23-Nov-07 17:01
sitebuilderLuc Pattyn23-Nov-07 17:01 
GeneralRe: Background Worker Component and Hanging Forms Pin
Ian Uy23-Nov-07 17:18
Ian Uy23-Nov-07 17:18 
GeneralRe: Background Worker Component and Hanging Forms Pin
Luc Pattyn24-Nov-07 2:31
sitebuilderLuc Pattyn24-Nov-07 2:31 
QuestionLots of Buttons Selected Pin
MasterSharp23-Nov-07 16:26
MasterSharp23-Nov-07 16:26 
AnswerRe: Lots of Buttons Selected Pin
Christian Graus23-Nov-07 17:05
protectorChristian Graus23-Nov-07 17:05 
GeneralRe: Lots of Buttons Selected Pin
MasterSharp23-Nov-07 17:13
MasterSharp23-Nov-07 17:13 
Questionc# in expression blend Pin
angels77723-Nov-07 13:41
angels77723-Nov-07 13:41 
AnswerRe: c# in expression blend Pin
Paul Conrad23-Nov-07 14:10
professionalPaul Conrad23-Nov-07 14:10 
GeneralRe: c# in expression blend Pin
angels77723-Nov-07 15:11
angels77723-Nov-07 15:11 
AnswerRe: c# in expression blend Pin
Christian Graus23-Nov-07 17:08
protectorChristian Graus23-Nov-07 17:08 
QuestionRead the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
josephx2k723-Nov-07 11:20
josephx2k723-Nov-07 11:20 
AnswerRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
DaveyM6923-Nov-07 11:46
professionalDaveyM6923-Nov-07 11:46 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? [modified] Pin
josephx2k724-Nov-07 1:26
josephx2k724-Nov-07 1:26 
AnswerRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 11:53
SABhatti23-Nov-07 11:53 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 12:40
professionalAnthony Mushrow23-Nov-07 12:40 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
SABhatti23-Nov-07 14:07
SABhatti23-Nov-07 14:07 
GeneralRe: Read the .txt file and extract the data to DataGrid according to specific rows and columns? Pin
Anthony Mushrow23-Nov-07 14:08
professionalAnthony Mushrow23-Nov-07 14:08 

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.