Imagelist - Simple problem
Hi All, This will likely be something extremely simple.
To simplify things, I have a new VB .NET 2008 Windows Form Application with absolutely no code yet. The only control I have on the form is a stock standard imagelist common control.
Using the inbuilt editor for adding images, i've added one single 16x16 jpg image (just to simplify things).
If I build and run the application at this point I get the following error.An error occurred creating the form. See Exception.InnerException for details.
The error is: Index was outside the bounds of the array.
I don't expect to see any images at this point when I 'Run' the application. I just need to work out why i'm getting the error. Later on i'll be referencing the imagelist in another control.I obviously need a bit of code. Just not sure what?
Re: Imagelist - Simple problem
Moved to VB.Net.
The CodeBank is for submitting example applications and tutorials, not for asking questions.
Gary