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

C#

 
GeneralRe: sorting an ArrayList with different attributes Pin
Christian Graus4-Dec-06 11:42
protectorChristian Graus4-Dec-06 11:42 
GeneralRe: sorting an ArrayList with different attributes Pin
sanjaybs20014-Dec-06 21:06
sanjaybs20014-Dec-06 21:06 
GeneralRe: sorting an ArrayList with different attributes Pin
Christian Graus4-Dec-06 23:14
protectorChristian Graus4-Dec-06 23:14 
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 
Hi, its me again, the n00b.

Last week i was doing a Image Explorer which manages around 1000 images per folder, its working fine and now i did ListView which shows it in large icon mode, the problem was when I tried to show the images, i resized the image, indexed it inside an image list and point the listviewitem to it. Ok then it works but its just slow, very slow, next step i did its to thumbnalize images to 96x96 and save them in a JPG to do a fast load without resize thinking that it will solve the problem. But it was slow like the other method, then I put a thread who gets a Queue of images to add into ImageList, but from my point of view it continues being slow. And then i thought maybe i need to ask ppl who knows better the .Net to show me wats the best way to load from HDD images into an image list.

Summary,

Im filling ListView pointing to a ImageList with a "Loading Image" Index 0, and put the images to load in a queue, then the other Thread gets the list and loads image doing some like:

Image = Image.FromFile( the file ); ImageList.Images.Add( Image ); And place the new Index into ListView...

Like i said, it works, but slow,

Somebody can give me some advice ?

Thanx in advance,

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 
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 

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.