|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Icon problemsI'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 On Wed, 25 Oct 2006 09:41:07 +0100, John Dann <n***@prodata.co.uk> wrote:
>I'm struggling to add an icon to my VB2005 program. I've pointed to The selected icon in Project | Properties is the icon used for application shortcut>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 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 Many thanks - I was so focused on the project properties that I'd
overlooked the obvious! JGD
Empty string comparisons
Outlook PST Files Looping through files to compare Systray Icon Regular Expressions .NET Issue with VB6 using a .NET DLL on one PC with Windows 2000 Server SQL staments with ADO in Excell Sending CHR(7) to cash drawer to Open Determine what current drive letter is? Collection Question |
|||||||||||||||||||||||