954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need help in placing icon for windows application

Hi,
I have developed a windows application using VB.NET, i need put a icon file for the .exe application file. I tried the following ways, Right clicked the project->went to properties-> there there is a option for putting application icon. I tried putting my .ico(16X16 and 32X32) file which i created using photoshop. But it says "Not a valid icon file".

Now how to create a valid icon file for my application ...? Please help ....

vbcoder123456
Newbie Poster
4 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

You are adding your ICO-file in the right way, but the file is not in Windows ICO-format.

I don't know much about PhotoShop. If it has a possibility to save ICO-files, try it. If that doesn't work, save your picture as a GIF-file with transparent background.

Then download, for example, Paint.NET, IrfanView or Gimp and use it to convert GIF-file to Windows ICO-file. All those graphics apps are freeware and you can download them from http://www.download.com

Teme64
Veteran Poster
1,031 posts since Aug 2008
Reputation Points: 218
Solved Threads: 203
 

I thought Photoshop could create a windows icon.
However, save it as a bitmap, jpeg, etc. There are a lot of free programs to convert an image file to an icon file.

OOPS a little bit late. Sorry

waynespangler
Posting Pro in Training
461 posts since Dec 2002
Reputation Points: 84
Solved Threads: 58
 

I agree with Teme, I have used IrfanView and it definitely meets all the needs (sizing and color requirements0 for icons.

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You