This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C35625.5D88C910
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

The type of error I get is a System.TypeInvocationException

Can anyone help please?
------=_NextPart_000_000D_01C35625.5D88C910
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<DIV><FONT face=3DArial size=3D2>I am developing a Windows Form =
application and I am=20
experiencing issues with the following line of =
code.....</FONT></DIV></DIV>
<DIV>
<P><FONT face=3DArial =
size=3D2><STRONG>Me.ImageListCRSGroupImages.ImageStream =3D=20
CType(resources.GetObject("ImageListCRSGroupImages.ImageStream"),=20
System.Windows.Forms.ImageListStreamer)</STRONG></FONT></P>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2>The =
type of error I=20
get is a <STRONG>System.TypeInvocationException</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone help=20
please?</FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_000D_01C35625.5D88C910--

Re: Problems with ImageList Control by Herfried

Herfried
Wed Jul 30 12:51:36 CDT 2003

Hello,

"Alan" <soonazNO@ntlworld.comSPAM> schrieb:
>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
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet