"Stanley Omega" <omega@giffdon.com> schrieb:
> I have found that should i set the icon property of a form, it will often
> only show up as the default icon. If i then restore down the form, the
> icon shows properly. If i then maixmise the form the form icon shows but
> is very large possibly 64*64 (its only a 16*16 on the file system). If i
> then close the form system.drawing throws an error about not being able to
> access a disposed object?
How did you create the icon file?

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Stanley Omega - 08 Aug 2006 02:28 GMT
Hello Herfried,
I created some icons with Easy Icon Maker a shareware app.... but i have
tested also with icons created using VS2005. With icons created using vs2005
i dont get the enlarged size but i still get the system.drawing object
dsposed exception. I have checked the settings in Easy icon maker and the
icons were definitely 16*16 24bits. Sometimes the forms also "stutter" and
hang CPU useage goes up to 100 percent. But if i debug into it the code
always fails inside system.drawing so i can never get to the root of the
problem.
Do you think it may be the icon files still? If so do you have any links to
icon specifications for vs2005 and dotnet 2.0?
Thanks
stano
> "Stanley Omega" <omega@giffdon.com> schrieb:
>> I have found that should i set the icon property of a form, it will often
[quoted text clipped - 5 lines]
>
> How did you create the icon file?