Solved

How do I create an icon in Visual Studio 2005?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

825 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