Another odd one for me...
I have a listview control and an imagelist control. The imagelist is used for smallicons (16X16) and the listview is showing details. Last week I added 1 16X16 bitmap to it and all was well. The image is displayed on 1 of 10 items at best. No problems what so ever.
Now, I add a second image, also a 16X16 bitmap, and the form won't load. The error is "Index outside the bounds of the array". I remove the image and go back to the single image in the listimage and the form loads. Add in the second one and the error occurs again.
I don't even get to the point of trying to assign the new image to a listitem. The form won't even load. I've tried looking everywhere for where I can increase the size of the image array.
One hour of my life wasted on this so far...
I have a listview control and an imagelist control. The imagelist is used for smallicons (16X16) and the listview is showing details. Last week I added 1 16X16 bitmap to it and all was well. The image is displayed on 1 of 10 items at best. No problems what so ever.
Now, I add a second image, also a 16X16 bitmap, and the form won't load. The error is "Index outside the bounds of the array". I remove the image and go back to the single image in the listimage and the form loads. Add in the second one and the error occurs again.
I don't even get to the point of trying to assign the new image to a listitem. The form won't even load. I've tried looking everywhere for where I can increase the size of the image array.
One hour of my life wasted on this so far...