Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
AnswerRe: sorting an ArrayList with different attributes Pin
Russell Jones4-Dec-06 21:02
Russell Jones4-Dec-06 21:02 
QuestionAccessViolationException was Handled Pin
Pokkri4-Dec-06 10:02
Pokkri4-Dec-06 10:02 
AnswerRe: AccessViolationException was Handled Pin
Christian Graus4-Dec-06 10:12
protectorChristian Graus4-Dec-06 10:12 
GeneralRe: AccessViolationException was Handled Pin
Pokkri5-Dec-06 1:08
Pokkri5-Dec-06 1:08 
QuestionFast loading images to a ImageList... Pin
Marcos Hernandez4-Dec-06 8:43
Marcos Hernandez4-Dec-06 8:43 
AnswerRe: Fast loading images to a ImageList... [modified] Pin
Luc Pattyn4-Dec-06 9:08
sitebuilderLuc Pattyn4-Dec-06 9:08 
GeneralRe: Fast loading images to a ImageList... Pin
Marcos Hernandez4-Dec-06 9:46
Marcos Hernandez4-Dec-06 9:46 
GeneralRe: Fast loading images to a ImageList... Pin
Luc Pattyn4-Dec-06 10:13
sitebuilderLuc Pattyn4-Dec-06 10:13 
Hi Marcos,

I would suggest to temporarily remove the second halve of your for loop,
so you can observe the loading of the files, without the ListView and DCRQueue operations,
just to figure out which part is taking so long.

Is your ListView visible while your code executes ? maybe it recalculates everything
after adding each individual image, which I guess is not what you really need.

If so, you want to use a single AddRange outside the for loop instead of n times Add.
Alternatively, you may want to call SuspendLayout() and ResumeLayout() before/after the
for loop.

greetings,




Luc Pattyn

GeneralRe: Fast loading images to a ImageList... Pin
Marcos Hernandez4-Dec-06 10:15
Marcos Hernandez4-Dec-06 10:15 
QuestionPlease Help me!!!Thanks !!! Pin
vandaivn4-Dec-06 8:21
vandaivn4-Dec-06 8:21 
AnswerRe: Please Help me!!!Thanks !!! Pin
Not Active4-Dec-06 9:30
mentorNot Active4-Dec-06 9:30 
AnswerRe: Please Help me!!!Thanks !!! Pin
Guffa4-Dec-06 10:44
Guffa4-Dec-06 10:44 
Questionhow to add excel like autofilters to datagrid header using c#.net Pin
nalla484-Dec-06 7:20
nalla484-Dec-06 7:20 
QuestionUsing .NET to call Matlab, How to pass array of strings? Pin
Woody Davis4-Dec-06 7:12
Woody Davis4-Dec-06 7:12 
QuestionExposing Children From Persistent Storage Pin
Christian M Jensen4-Dec-06 6:59
Christian M Jensen4-Dec-06 6:59 
AnswerRe: Exposing Children From Persistent Storage [modified] Pin
Pete O'Hanlon4-Dec-06 9:20
mvePete O'Hanlon4-Dec-06 9:20 
QuestionPrintPreview Pin
netJP12L4-Dec-06 5:17
netJP12L4-Dec-06 5:17 
AnswerRe: PrintPreview Pin
Nader Elshehabi4-Dec-06 6:56
Nader Elshehabi4-Dec-06 6:56 
GeneralRe: PrintPreview Pin
netJP12L4-Dec-06 7:55
netJP12L4-Dec-06 7:55 
QuestionRedim multiD-Array Pin
C++NewBe4-Dec-06 4:33
C++NewBe4-Dec-06 4:33 
AnswerRe: Redim multiD-Array Pin
Pete O'Hanlon4-Dec-06 4:59
mvePete O'Hanlon4-Dec-06 4:59 
AnswerRe: Redim multiD-Array Pin
ednrgc4-Dec-06 5:02
ednrgc4-Dec-06 5:02 
GeneralRe: Redim multiD-Array Pin
Dave Doknjas4-Dec-06 13:30
Dave Doknjas4-Dec-06 13:30 
AnswerRe: Redim multiD-Array Pin
Dave Doknjas4-Dec-06 13:29
Dave Doknjas4-Dec-06 13:29 
QuestionControl layout, form resizing (Windows Forms) Pin
Jon Hulatt4-Dec-06 4:25
Jon Hulatt4-Dec-06 4:25 

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.