sudhakar

sudhakar

  • NA
  • 5
  • 0

Out of Memory Exception when displaying images in ListView Control

Oct 29 2006 5:17 AM
Hello ,

          I am  sudhakar working on  application where i need to display 100 or more images in a ListView Control in vb.net(Desktop  application).When displaying the images  i get an error saying
"Out Of Memeory" and only some images are displayed rest are not displayed.

Presently  the application selects all the images from a folder and adds to the Imagelist and then assigning the Imagelist property of ListView  to ImageList a below.

listView1.LargeImageList=imageList1;
listView1.View = View.LargeIcon ;

Please can anyone help me in solving  this issue.

Thanks
sudhakar.