468,133 Members | 1,211 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

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 2547
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by ukdmbfan | last post: by
4 posts views Thread by Tony Vitonis | last post: by
7 posts views Thread by Mike Eaton | last post: by
4 posts views Thread by Blaine | last post: by
1 post views Thread by UJ | last post: by
2 posts views Thread by Rainer Queck | last post: by
1 post views Thread by Steve Richter | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.