Answer the question
In order to leave comments, you need to log in
Fastest way to load images into an ImageList from a folder?
Is there the fastest way to load images into an ImageList from a folder for a ListView? Without consuming a huge amount of memory.
This method is very slow and eats too much:
Dim images As New ImageList
For Each filePath In IO.Directory.GetFiles(folderPath)
images.Images.Add(Image.FromFile(filePath))
Next
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question