Solved

How do I create an icon in Visual Studio 2005?

Posted on 2008-06-24
2
2,165 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now