Can't update Application Icon

  • Thread starter Thread starter Michael J. Salamone
  • Start date Start date
M

Michael J. Salamone

I just changed the application icon for my app. But the old application
icon still displays in the title bar of the main form, though. If I look at
the re-built app.exe in the Windows Explorer, though, it shows the new icon.
Also, I have a debug console window that comes up (it is opened by some
native code that gets loaded). The icon for the debug console is the new
icon!

I also deleted the actual .ico file from my workstation (well, replaced it
with the new file), so I can't figure how it is being used. I even tried
deleting .pf files from \Windows\PreFetch - no help.

I tried a clean rebuild of everything (not just Rebuild Solution - I
actually deleted the obj and bin directories).

Any clues? TIA.
 
Michael J. Salamone said:
I just changed the application icon for my app. But the old application
icon still displays in the title bar of the main form, though.

You'll have to assign the new icon to your form's 'Icon' property.
 
I have read about that.
while I can't remember the solution I know it's a cache issue on the
computer.
that means other user would see the right icon (well provided that's their
first install :()
 
Did that. That's how I got an icon in the first place.

I just changed the contents of the .ico file and rebuilt.

--
Michael Salamone [eMVP]
Entrek Software, Inc.
www.entrek.com
 
Back
Top