Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding an icon to a winforms project in 2.0
Message
From
10/05/2007 09:36:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01224000
Message ID:
01224115
Views:
11
>Hi, Mike.
>
>>OK, so I added a new icon to my project and customized it there. I guess that would mean that it is a resource file. However, when I set up the icons (in both of the places you mentioned) I pointed to the file in the file system, and the property sheet seems to see it. However, when I launch the project, it goes to a generic looking icon.
>
>Is your icon file providing several different size versions? For the icon to appear on a forms caption you have to provide a 16x16 version.
>
>You may find this old article useful:
>http://www.hhhh.org/cloister/csharp/icons/
>
>Regards,

That was exactly what I needed. I didn't realize that an .ico was a collection of bitmaps, instead of just one. I figured that it would resize itself when it needed.

I also found out how to do transparency from that article, which was going to be my second question.
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform