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

Window Form's icon problem?

Hi there,

I assigned icon for a window's form using form's Icon property at design
time. Now I want to change the icon. I tried to replace the old icon with
the new icon using form's Icon property. Somehow in the form's property
window's Icon property has changed to new icon, but on the form it still
uses the old icon. Then I tried to set Icon property to None, and it
doesn't allow me to do it. I don't know why and how can I fix this problem?

Thank you.

Jan 11 '06 #1
3 2831
Right click on the icon property and you can select reset to set it to none.
--
Dennis in Houston
"Nina" wrote:
Hi there,

I assigned icon for a window's form using form's Icon property at design
time. Now I want to change the icon. I tried to replace the old icon with
the new icon using form's Icon property. Somehow in the form's property
window's Icon property has changed to new icon, but on the form it still
uses the old icon. Then I tried to set Icon property to None, and it
doesn't allow me to do it. I don't know why and how can I fix this problem?

Thank you.

Jan 12 '06 #2
Thank you Dennis.

I tried to use right click on the icon property and there are only two
choices: Reset and Description. I choose "Reset" and it gives me the vb.net
default icon on the form. Then I tried to change the FormBorderStyle
property to FixedDialog from Sizable, this finally made the icon disappeared.
What I really want is to use my own icon. Unfortunately when I set the Icon
property to my own icon, in Icon property I can see my icon, but on the form
it shows the Solution Explorer's icon file's icon. How can I fix that?

One more thing about icon, when I deploy my application, I set icon for
desktop and window Start up's All Program using same icon file. I don't
know why on desktop it shows my icon, but on Start up menu it displays vb.net
Solution Explorer's icon file's icon. What cause this problem and is there
a way to correct it?

Thanks.

Nina

"Dennis" wrote:
Right click on the icon property and you can select reset to set it to none.
--
Dennis in Houston
"Nina" wrote:
Hi there,

I assigned icon for a window's form using form's Icon property at design
time. Now I want to change the icon. I tried to replace the old icon with
the new icon using form's Icon property. Somehow in the form's property
window's Icon property has changed to new icon, but on the form it still
uses the old icon. Then I tried to set Icon property to None, and it
doesn't allow me to do it. I don't know why and how can I fix this problem?

Thank you.

Jan 12 '06 #3
Hi Nina!

Did you ever find a way to fix your problem with the new icon not
displaying. I am having the same problem. I had been searching for a
solution and I keep running into the places where you posted your problem.

I will greatly appreciate your help!

Have a good day

Alejandra
Aug 2 '06 #4

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

Similar topics

3
by: Dale | last post by:
I'm using the NotifyIcon component on a form within a Windows application that will normally show no interface. NotifyIcon does add an icon as required to the notification area of the Task Bar. ...
2
by: ukdmbfan | last post by:
I want to create several forms in my C# program so that when people click on options in the menu bar (such as Tools -> Options) it brings up a new form dialog window for them to change certain...
4
by: utkarsh | last post by:
Hi, I want to develop a Window Service in C# that should be capable of sisplaying the a icon in the window tray. Based on some logic in service, icon should be changed to some other...
4
by: Tony Vitonis | last post by:
Hello. I've written an app that I want to "live" in the system tray. I want it to start up with just a tray icon showing, and if the user selects "Settings..." from the icon's context menu, to...
7
by: Mike Eaton | last post by:
Hi All, I have a simple application that allows users to clock in and out and stores the data for use by the payroll department. It spends most of its life as a tray icon and when the user...
4
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it...
1
by: UJ | last post by:
Is there a way to change the default icon for a window to be the application icon? It's just that if you create a new window you have to remember to go in and set the icon where it would be nice if...
2
by: Rainer Queck | last post by:
Hello NG, what are the right dimensions for a window icon, used on a mdi child window? My Problem: I used a third party Icon-Designer to design some icons for my application. Those icons look...
1
by: Steve Richter | last post by:
can a desktop icon, used to launch an application window like windows explorer, be a child control in a window form? I checked the windows forms controls in VS2005 and did not see any such...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.