Icon problems

J

John Dann

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
 
G

gene kelley

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
 
J

John Dann

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

JGD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top