Hello,
I have a simple Form with a PictureBox that I'm assigning a ico-File during
Design-Time.

Depending on SizeMode and current size it displays the correct Icon of size
16x16, 24x24, etc.

Now I need to access the Icon behind that PictureBox during runtime and
extract the different sizes 16x16, 24x24 etc. How can I do this?

Thanks,
Walter

Re: How to access a Icons different sizes during runtime? by Herfried

Herfried
Mon Apr 25 09:48:17 CDT 2005

Hallo Walter!

"Walter Quirtmair" <walter.quirtmair@dynamic-design.com> schrieb:
> I have a simple Form with a PictureBox that I'm assigning a ico-File
> during Design-Time.
>
> Depending on SizeMode and current size it displays the correct Icon of
> size 16x16, 24x24, etc.
>
> Now I need to access the Icon behind that PictureBox during runtime and
> extract the different sizes 16x16, 24x24 etc. How can I do this?

.NET Icon Explorer
<URL:http://vbaccelerator.com/article.asp?id=4567>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>