|
-
Mar 10th, 2011, 08:43 PM
#1
Thread Starter
Hyperactive Member
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?
-
Mar 11th, 2011, 02:47 AM
#2
Re: Imagelist - Simple problem
Moved to VB.Net.
The CodeBank is for submitting example applications and tutorials, not for asking questions.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|