Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi , i have built an app to split images to the local drive of a p.c, the problem i am facing is that i need to fill a listView control on the app with the images that i have split. i have tried via an imagelist and by adding the images to the listView but it takes too long to load images. Is there another way to populate the listView faster ? A 200 page .tiff image takes about 5 seconds to split but it takes around 2.5 minutes to populate the control. Any help will be appreciated.
imageList1.Images.Add(Image.FromFile(newFilePath)); /* method used to add images via imagelist */
listViewPageViewer.Items.Add(newFilePath, i++); /*method used to add directly to the listView */
Posted
Updated 21-Jul-11 21:07pm
v2

1 solution

Virtual mode is your solution.

Check this article Virtual Mode ListView[^]

Cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900