Home All Groups Group Topic Archive Search About

Window Form's icon problem?

Author
11 Jan 2006 7:54 PM
Nina
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.

Author
12 Jan 2006 1:55 AM
Dennis
Right click on the icon property and you can select reset to set it to none.
--
Dennis in Houston


Show quoteHide quote
"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.
>
>
>
Author
12 Jan 2006 5:02 PM
Nina
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



Show quoteHide quote
"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.
> >
> >
> >
Author
2 Aug 2006 5:17 PM
Alejandra De La Torre
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