VB6 Application Icon

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

VB6 Application Icon

Post by D Willett »

Just wondering if anyone knows an easy way to apply an application icon.
I'm sure there are colour intensity or pixel restrictions. I've created an Xp icon and keep getting "Invalid Picture or Icon "

Regards
Cheers ...

Dave.

User avatar
Sundog
5StarLounger
Posts: 704
Joined: 28 Jan 2010, 22:47
Location: Alien Country (Roswell NM)

Re: VB6 Application Icon

Post by Sundog »

Are you saving the file as an .ico?
Sundog

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: VB6 Application Icon

Post by D Willett »

Yes, saved as an icon, more so because my icon editor removes the background of the image so it looks authentic on the desktop.

Regards
Cheers ...

Dave.

User avatar
Leif
Administrator
Posts: 7209
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: VB6 Application Icon

Post by Leif »

What size (px x px) is the icon you have created?

Not very exciting, but does the attached work? (Rename to give it an .ico extension)
You do not have the required permissions to view the files attached to this post.
Leif

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: VB6 Application Icon

Post by D Willett »

Hi Leif
Your attachment icon works fine. What are the dimensions so I can create a sucessful one.
( Sorry I've only just replied, I had other projects to complete first )

Thanks
Cheers ...

Dave.

User avatar
HansV
Administrator
Posts: 78474
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: VB6 Application Icon

Post by HansV »

Opening the .ico file in the browser, right-clicking the icon and selecting Properties results in
x85.png
So it's 48 by 48 pixels.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: VB6 Application Icon

Post by D Willett »

Ok Cheers Hans. 48 x 48 is not much to play with but I should be ok with it.

Thanks
Cheers ...

Dave.

User avatar
Leif
Administrator
Posts: 7209
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: VB6 Application Icon

Post by Leif »

If I may be so bold as to show off my ignorance... :grin:

I created the icon using Axialis Software - Home of IconWorkshop, and can highly recommend it. (It's not free, mind.)

According to the workspace, it appears to be 4 sizes ( 16x16, 32x32, 48x48 and 256x256) and 3 resolutions (16, 256 and RGB):
x.jpg
I usually create my icons like this as the one file then has a range of uses, from application icon to desktop icon. This probably explains its size - quite big for a 'simple' 48x48 graphic - but as to why it should be reported as 48 x 48, I'm not sure. If I open it with Firefox, Firefox tells me it's 16 x 16.... :shrug:

I'm happy to run a graphic through Axialis for you if it helps...
You do not have the required permissions to view the files attached to this post.
Leif

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: VB6 Application Icon

Post by D Willett »

Hi Leif, that would be great if you wouldn't mind.
I have two image files, 1 x JPG (30.7kb) or 1 x BMP(735kb). How shall I send them to you ?
Cheers ...

Dave.