Can't update Application Icon

  • Thread starter Michael J. Salamone
  • 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.
 
H

Herfried K. Wagner [MVP]

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.
 
L

Lloyd Dupont

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 :()
 
M

Michael J. Salamone

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows XP ATL COM DLL issue 0
Wrong Application Icon Task Switch 1
Setting an Icon in a Form 1
Application Icon 7
Windows application Icon 1
All icons for *.ico files are blank 3
Icon Chalange 2
Single use of ICON in all forms 11

Top