using the MultiIcon class (
http://www.codeproject.com/dotnet/MultiIcon.asp),
just change icoStream from type 'IO.MemoryStream' to type 'IO.Stream'
You can then use GetManifestResourceStream().
\\\
System.Reflection.Assembly Assy =
this.GetType().Assembly.GetExecutingAssembly();
thisIcon = new multiIcon(Assy.GetManifestResourceStream(
"myNameSpace.App.ico"))
///
--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Brian Henry" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an icon in my app as an embeded resource.. i am accessing it through
the assemblies getmainfestresourcestream method of the assembly. The icon
has a 32x32 and a 16x16 icon in the same icon resource, I want to draw the
16x16 one on the screen, how would I do this? the only icon i get back when
making a icon object out of it is 32x32.. but i need the smaller one,
thanks!