ImageList Errors - Exceptions and...need HELP

H

Herr Lucifer

Greetings all .Net guys out there:

As you might know, VB.NET 2003 has a bug with image list,
It pops up the following message when I run my application and it reads as :

An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an invocation.

Then it highlights the following line in my application code:
Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)

Also, the value of "Me.ImageList1.ImageStream" is "Nothing"!

I have looked up some ms sites for this, but couldn't really solve it.

Love to use imagelist at least for ONE time in VB.NET

Thanks for your help

---

OS = WinXP Pro

VS.Net 2003

FrameWork 1.1
 

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

Members online

No members online now.

Forum statistics

Threads
474,417
Messages
2,571,578
Members
48,797
Latest member
shadowoftheunknown

Latest Threads

Top