Program Icons?
-
This must be the dumbest question ever, but how can I set my program's icon (i.e., the one in Windows Explorer)? I have already tried
this.Icon = ...
in my main form class, and that only sets the icon of the actual form. I know this must be REALLY simple, but I've searched all the docs many times. Help??-Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
-
This must be the dumbest question ever, but how can I set my program's icon (i.e., the one in Windows Explorer)? I have already tried
this.Icon = ...
in my main form class, and that only sets the icon of the actual form. I know this must be REALLY simple, but I've searched all the docs many times. Help??-Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
There's a few ways. 1. Right click your project in the Solution Explorer and click on Properties and in the properties pages you can set the project icon. 2. Edit the ProjectName.csproj file... the ApplicationIcon entry should be about 10 lines down. 3. The /win32icon: command line switch for the C# compiler. Andy Gaskell, MCSD MCDBA