ImageList Help

  • Thread starter Thread starter Donald Smith
  • Start date Start date
D

Donald Smith

Hey,

My C# just started doing something weird with imagelists. I have an
Imagelist with about 5 icons in it, and it use to compile perfectly. But all
the sudden, it gives me this error:

"An unhandled exception of type
'System.Reflection.TargetInvocationException' occurred in mscorlib.dll

Additional information: Exception has been thrown by the target of an
invocation."

And this is highlighted:

"this.imgMain.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgMain.Image
Stream")));"



I just figure I had moved the icons from the original place, but they are
still there. Any ideas? Thanks.

Donald.
 
Hey Ravi,

Thanks for the reply. It turned out to be the Manifest file I added for
denev.exe. Now it works fine. Thanks a lot. :)

Donald
 

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

Back
Top