Jump to content

Adding Icon to EXE


Guest Palindrome

Recommended Posts

Guest Palindrome

When I select an icon in form properties (I'm using Microsoft Visual Studio .NET 2003) it is displayed on the design form but when I build the project I get a generic white/blue icon in windows and displayed on the start menu on my phone.

If I go into the exe using an icon editing app then I'm told that there isn't an icon in the exe at all.

What am I doing wrong? Do I need to add the icon as a resource and then create it dynamically in the code, or should the addition of the icon in the form properties be sufficent? :?

Link to comment
Share on other sites

Guest MorphFx

I created an icon using vc++ v6 32x32 pixels but it don't fit right on the SPV, what are you using and what did you use to create your icon?

Link to comment
Share on other sites

Guest Palindrome

I believe that my icon was 16x16 and had 256 colours. I made it in photoshop, saved it as an icon and loaded it into Visual Studio .Net (C#) by going to Project properites -> Common folder -> General -> Application Icon. I don't know about VC++.

Hope that helps.

Link to comment
Share on other sites

  • 4 weeks later...
Guest sideshowjon

In VS 2003 open a new icon file, defaults to 32x32, 16 color edit this, then select menu|image|current icon image types|16x16, 16 color and then edit this, save and you have BOTH small and large icons in the same file. To see the result add to your app as above then brows the exe and switch between "large icons" and "small icons" on the view menu.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.