By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,659 Members | 940 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,659 IT Pros & Developers. It's quick & easy.

Window Form's icon problem?

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.