473,385 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

icon file not displaying icon figure I drew

Hello,

I have created icons before with icon editor that comes with VS2003 without
any issues. Today I created another icon for my VB.Net app. But this .ico
file is not displaying the figure that I drew on it in the editor (32x32).
When I add the icon to the project, the icon does not display the figure on
the form, but it does display in the Alt-Tab box, and it displays in the
Project Properties page. Also, the icon does not display the figure in the
icon solution window. I also added the icon to a shortcut that I created in
the ajoining setup/install project that I added to my project. On most of my
projects/apps the icons I create display the figures. But not this project.
Is there something I need to do (or undo)?

Thanks,
Rich
Mar 23 '06 #1
1 1834
"Rich" <Ri**@discussions.microsoft.com> schrieb:
I have created icons before with icon editor that comes with VS2003
without
any issues. Today I created another icon for my VB.Net app. But this
.ico
file is not displaying the figure that I drew on it in the editor (32x32).
When I add the icon to the project, the icon does not display the figure
on
the form, but it does display in the Alt-Tab box, and it displays in the
Project Properties page.


Maybe the icon file contains other (empty) icon images with different color
depths or resolutions which are picked instead of the image you have drawn.
To check this, open the icon file in VS.NET, right-click the editor panel
and choose the appropriate menu item to see which images are contained in
the icon file.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Terry | last post by:
There are a number of things about using unmanaged resources in Windows Forms programming that is unclear to me. In C++, if you loaded an icon resource using "ExtractIcon()", the resource was...
4
by: Drew | last post by:
I have been looking all over the web for an example of how to accomplish this. I am trying to download a comma seperated file from a https server. I can't establish the connection - the error reads...
3
by: scoobydoo | last post by:
hi, I have a problem displaying icons at the right colour depthin a ListView. I've made an icon file, (using IconWorkshop 5), it has 3 icons within it. A 32x32 32bpp XP style icon, a 32x32...
3
by: Tony Lugg | last post by:
I have an application with a document management form. When users add documents to the form, I call the API function SHGetFileInfo to get the associated large and small icons for the file. These...
7
by: Drew | last post by:
I have a small VB.NET application that captures left clicks, right clicks and key presses and automatically logs them to a csv file every 1 minute. The issue is that if I want to look at the log...
0
by: pope | last post by:
I use a CImageList to draw icons on the SDI view: ... myImageList.Create(48,48, ILC_COLOR16,1,1); ... But the icon drew on the SDI view is of black background,why? the icon is of greenish...
0
by: Rich | last post by:
Hello, When I create an icon in VB2005 icon editor - 32x32, the figure I draw in the editor is not displaying on the icon file in the solution explorere, in windows explorer, on the exe, or on...
3
by: SveinErik | last post by:
Hi, I'm trying to find a method to save bmp, jpg and png files as ico files, 16x16 size. I have managed to convert and save bmp files to icon, but only in 32x32 size. I can't figure out how to save...
2
by: kelvin.koogan | last post by:
I want to dynamically change the icon displayed in a status bar panel. I've created the icons in the resource file, app.rc, e.g. IDI_MYICON. How can I load this icon and display it in the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.