Window Form's icon problem?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nina

    #1

    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.



  • Dennis

    #2
    RE: Window Form's icon problem?

    Right click on the icon property and you can select reset to set it to none.
    --
    Dennis in Houston


    "Nina" wrote:
    [color=blue]
    > 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.
    >
    >
    >[/color]

    Comment

    • Nina

      #3
      RE: Window Form's icon problem?

      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:
      [color=blue]
      > Right click on the icon property and you can select reset to set it to none.
      > --
      > Dennis in Houston
      >
      >
      > "Nina" wrote:
      >[color=green]
      > > 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.
      > >
      > >
      > >[/color][/color]

      Comment

      • Alejandra De La Torre

        #4
        RE: Window Form's icon problem?

        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

        Comment

        Working...