Project Properties, Application Page, Icon Setting

anyoneis

New member
Joined
Feb 17, 2006
Messages
4
Location
Seattle
Programming Experience
10+
What is this for? For a VB.NET Windows Forms app with a startup form (like, most of them), it seems to have no effect (other than causing me to waste a lot of time searching for answers.)

I eventually figured out that setting the Icon property for my main startup form is the declarative way to set the application icon to something other than the default. But, even this is hidden. You can't just select your form in the Solution window and look in the Properties window. You have to open the form in the Designer and then you can set the Icon property in the Properties window.

Then you can make it beautiful, using resources such as:
http://www.hhhh.org/cloister/csharp/icons/

So, what is the Project Properties, Application Page, Icon Setting for?

David
 
Last edited:

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,742
Location
Sydney, Australia
Programming Experience
10+
A form is not an application, even if it's the startup form. Setting the icon for a form sets the icon for the form, as in what is shown in the titlebar, in the taskbar, etc. Setting the icon for an application sets the icon for the application, as in what icon is displayed for executable file that is created when you compile your project.
 

anyoneis

New member
Joined
Feb 17, 2006
Messages
4
Location
Seattle
Programming Experience
10+
jmcilhinney wrote:

>Setting the icon for an application sets the icon for the application, as in
>what icon is displayed for executable file that is created when you compile
>your project.

Ah! Thanks!

David
 
Top Bottom