Solved

How do I create an icon in Visual Studio 2005?

Posted on 2008-06-24
2
2,187 Views
Last Modified: 2013-11-26
I'm trying to create an icon using Visual Studio 2005 following these instructions http://www.codeproject.com/KB/graphics/HowToIcon.aspx.

I'm not a Visual Studio programmer.  I use Access VBA and PHP.  However it seems pretty straight forward.  I created a Windows Application project then selected Project>Add new item and selected the icon template.  I selected New Image Type and 32x32 and 256 colors.  I drew a squiggle on the icon canvas and saved the icon.  Icon1.ico appears in my project folder.  If I preview it it looks OK, but it doesn't show itself s its icon in the Windows Explorer detail view and it doesn't work as an icon for a shortcut.

Any ideas?  I attached the file as Icon1.txt since this system does not allow .ico extensions.
0
Comment
Question by:anAppBuilder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Joni Kettunen earned 500 total points
ID: 21863442
There are size issues for a icon. To make a good icon should create Windows icons48 × 48, 32 × 32, 24 × 24, and 16 × 16 pixels versions of same icon in a icon file. Missing one size causes rough icon to be shown.

More info about Creating Windows XP Icons (http://msdn.microsoft.com/en-us/library/ms997636.aspx)

The link above gives default color palette used in windows icons and guidelines for icon creation.

I hope it helps.
0
 

Author Comment

by:anAppBuilder
ID: 21863543
Thank you, Valkoturkki.  That was the problem.  And thanks for the link.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question