473,403 Members | 2,366 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,403 software developers and data experts.

Icon problems

I'm struggling to add an icon to my VB2005 program. I've pointed to
the icon I want to use in Project | Properties, the icon itself
appears alongside the icon path and the icon file has been copied into
the project folder. But I still get the default icon when running the
project, both in the top-left of the form and in the Windows task bar.

Is there something else I need to do? Or is the icon file maybe in the
wrong format? This is an icon supplied with VB6 (but not with VB2005).
If it is the wrong format (or maybe the required icon size is not
available?) then is there some easy way of converting to the correct
format?

JGD
Oct 25 '06 #1
2 1121
On Wed, 25 Oct 2006 09:41:07 +0100, John Dann <ne**@prodata.co.ukwrote:
>I'm struggling to add an icon to my VB2005 program. I've pointed to
the icon I want to use in Project | Properties, the icon itself
appears alongside the icon path and the icon file has been copied into
the project folder. But I still get the default icon when running the
project, both in the top-left of the form and in the Windows task bar.

Is there something else I need to do? Or is the icon file maybe in the
wrong format? This is an icon supplied with VB6 (but not with VB2005).
If it is the wrong format (or maybe the required icon size is not
available?) then is there some easy way of converting to the correct
format?

JGD
The selected icon in Project | Properties is the icon used for application shortcut
and the application's .exe file icon -- has nothing to do with the form/taskbar
icon.

You need to load the icon into the form's icon property.

Gene
Oct 25 '06 #2
Many thanks - I was so focused on the project properties that I'd
overlooked the obvious!

JGD
Oct 25 '06 #3

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

Similar topics

7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
1
by: Gordon Sanderson | last post by:
I have been working with for two days on a database with no problems(changing forms and adding code to the forms and a module). Shut down last night was fine, with no errors generated. This...
2
by: Vic | last post by:
I am trying to change an icon associated with my application's main form and the application itself. 1. I selected my main form in IDE "Solution" tab and went to "Properties" window. 2. I found...
3
by: Gidi | last post by:
Hi, I've created a project, and after compiling the *.exe file has created, i want to change the icon of that file, i changed the App.ico file to my Icon, but still i can't change the icon, is...
6
by: Lespaul36 | last post by:
I am new to the .Net but not new to VB, but I am having problems with the form icon. I made an icon file using VS.Net 2003 and then added it to my form. The icon shows in the properties, but not...
0
by: kapcreations | last post by:
I have a system tray app which gets the status of a windows service, and displays the appropriate icon for the status of the service in the systray. the problem I am having is the icon disapears...
4
by: randy1200 | last post by:
I have a Windows application that previously had the company logo "MyCompany.ico" added to the upper left-most corner. The company has since issued a new version of "MyCompany.ico" that looks...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
0
by: =?Utf-8?B?U2FyamVz?= | last post by:
Whether it was Windows SP3 or Internet 8 Beta or just plain stupidity on my part I am missing info so I am unable to log onto the Internet. I am using my sons's laptop! I am now running Windows XP...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.