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 00:39:52
 
 
To
09/05/2007 23:50:04
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:
01224043
Views:
16
Well, darn ... I dunno ... that should work. =0(

No more suggestions off the top of my head ... if I think of something else, I'll let you know.

~~Bonnie



>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.
>
>>How are you setting the icon? In the Form Property Sheet, there's an icon property that you set. That's pretty easy. If you're talking about making the application itself (the EXE) have an icon, right-click on the project in Solution Explorer and choose Properties. On the Application tab of the project's properties is the place to choose the icon. I notice that you can find one from a file or get it from a Resource file. I don't usually bother with putting them in a Resource file, I just browse to one on my machine.
>>
>>~~Bonnie
>>
>>
>>>I am trying to add a custom icon to a winforms application. I added it to my project, and I am trying to set the forms to have that icon, as well as the project itself.
>>>
>>>However, when I run the project and open the forms, it has a generic gray/white icon file... not the custom icon I spend waaaay too much time making.
>>>
>>>Any advice?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform