Icon problems

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

    #1

    Icon problems

    I'm struggling to add an icon to my VB2005 program. I've pointed to
    the icon I want to use in Project | Properties, the icon itself
    appears alongside the icon path and the icon file has been copied into
    the project folder. But I still get the default icon when running the
    project, both in the top-left of the form and in the Windows task bar.

    Is there something else I need to do? Or is the icon file maybe in the
    wrong format? This is an icon supplied with VB6 (but not with VB2005).
    If it is the wrong format (or maybe the required icon size is not
    available?) then is there some easy way of converting to the correct
    format?

    JGD
  • gene kelley

    #2
    Re: Icon problems

    On Wed, 25 Oct 2006 09:41:07 +0100, John Dann <news@prodata.c o.ukwrote:
    >I'm struggling to add an icon to my VB2005 program. I've pointed to
    >the icon I want to use in Project | Properties, the icon itself
    >appears alongside the icon path and the icon file has been copied into
    >the project folder. But I still get the default icon when running the
    >project, both in the top-left of the form and in the Windows task bar.
    >
    >Is there something else I need to do? Or is the icon file maybe in the
    >wrong format? This is an icon supplied with VB6 (but not with VB2005).
    >If it is the wrong format (or maybe the required icon size is not
    >available?) then is there some easy way of converting to the correct
    >format?
    >
    >JGD
    The selected icon in Project | Properties is the icon used for application shortcut
    and the application's .exe file icon -- has nothing to do with the form/taskbar
    icon.

    You need to load the icon into the form's icon property.

    Gene

    Comment

    • John Dann

      #3
      Re: Icon problems

      Many thanks - I was so focused on the project properties that I'd
      overlooked the obvious!

      JGD

      Comment

      Working...