Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I create an icon in Visual Studio 2005?

Posted on 2008-06-24
2
Medium Priority
?
2,193 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

963 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