Changing form Icon issue

  • Thread starter Thread starter David Burkinshaw
  • Start date Start date
D

David Burkinshaw

I have a form and I assigned an icon to it. For arguements sake let's say
the icon is a smiley face. I compile, run, and save the program. The icon on
the form shows up as a smiley face. At a later date I reopen the project and
decide to change the smiley icon to a frown. I edit the icon using the
VS.NET editor, and save it. The build action for the icon is "Embedded
Resource". I rebuild the project and the icon remains as a smiley.
I then look at the folder in Windows Explorer and the icon file shows up as
a smiley. I double click on it and it opens in Windows Picture and Fax
Viewer. The image that appears is still a smiley. If I zoom in on it the
image changes to a frown.
What's happening here?
I'm using VS.NET 2003 on Windows XP Pro.

Thanks in advance

David
 
I don't think the new icon is actually embedded until you "reassign" it.
I would like VS to detect a change to the icon and update itself, but so
far I have to reassign it every time I change it.
 
Back
Top