Problems with ImageList Control

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

I am developing a Windows Form application and I am experiencing issues with the following line of code.....
Me.ImageListCRSGroupImages.ImageStream = CType(resources.GetObject("ImageListCRSGroupImages.ImageStream"), System.Windows.Forms.ImageListStreamer)

The type of error I get is a System.TypeInvocationException

Can anyone help please?
 
Hello,

Alan said:
I am developing a Windows Form application and I am
experiencing issues with the following line of code.....
Me.ImageListCRSGroupImages.ImageStream =
CType(resources.GetObject("ImageListCRSGroupImages.
ImageStream"), System.Windows.Forms.ImageListStreamer)
The type of error I get is a System.TypeInvocationException

Do you use an application manifest (in order to enable Visual Styles
within the IDE) for devenv.exe?

Regards,
Herfried K. Wagner
 
Back
Top