Error when adding ImageList to UserControl

C

Craig

In our UserControl object, I added an image list with
images through the dev studio. When I attempt to use the
control in a form, I get the following runtime error:

An unhandled exception of
type 'System.Resources.MissingManifestResourceException'
occurred in mscorlib.dll

Additional information: Could not find any resources
appropriate for the specified culture (or the neutral
culture) in the given assembly. Make
sure "DITVariableGrid.resources" was correctly embedded
or linked into assembly "DITu_Chart".
baseName: DITVariableGrid locationInfo:

=====================
If I remove the images from the list, the code runs
without any errors. Any ideas? I even tried to put an
image on a button control in the usercontrol, and I get
the same error. Please help.

Thanks in advance.


Craig Buck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top