Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Heyey

 

I have a WinForm application built in VB.NET, all works fine.

Now I want to have a nice icon to finish it all up.

I already have a form Icon (So it shows up while doing Alt+Tab, and the taskbar is also fine).

I also set the icon at the properties page for the application. And even in TaskManager and Explorer (rightclick application exe file -> properties), the icon shows as expected.

Although the .exe file still shows the default icon which VS2005 set at projection creation.

 

How can I change this icon as well?

 

The icon file consists of a 16x16 and 32x32 picture, both 256 colors as 16 colors.

 

~DP

 

After switching the View in Explorer I determined that the icon is succesfully registered, as the icon shows up in the following views:

- Small icons

- List view

- Detailes view

 

However the icon doesn't appear in the other ones

(tiles, medium, large and extra large icons)

 

I've added 48x48p Icons as well as 24x24p Icons, with no different results.

Edited by DPrometheus

My Development System

Intel Core i7 920 @2.66Ghz

6 GB DDR3 SDRAM

Windows 7 Ultimate x64 & Windows Vista Home Premium x64 dual boot

GeForce GTX295 1.8 GB

3.5 TB HD

Posted

As posted above, yes I also set the icon at the properties page for the application.

 

I also tried wsrm.ico which I found at the wow64 Windows folder. This icon scales and shows the image in al views in explorer. However, after inserting it in VS2005 and set that one as active icon, I still get the same results. The application icon shows up in only 3 views, and while in one of the other views, the image gets converted back to the default icon.

My Development System

Intel Core i7 920 @2.66Ghz

6 GB DDR3 SDRAM

Windows 7 Ultimate x64 & Windows Vista Home Premium x64 dual boot

GeForce GTX295 1.8 GB

3.5 TB HD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...