Hmm, very strange - when I use the native Basic4ppc forms then the icon is used just like you say and shows up on the taskbar. The program I am currently working on uses the FormExDesktop however, it might be that the problem is related to that?
Has anyone else seen this behaviour?
Dear TomasNM, thank you for your suggestions but I think that looks a little bit too advanced for my taste - I was hoping for a simpler solution.
Using resource editor is not so difficult,as it seems. Simply open your compiled exefile with kind editor and change the icon using that software. Nothing difficult,realy. I will try to get some editor,I'll let you know and I'll write step by step tutorial how-to. Of course,if it will work. Anyway I think,that should do.
Using resource editor is not so difficult,as it seems. Simply open your compiled exefile with kind editor and change the icon using that software. Nothing difficult,realy. I will try to get some editor,I'll let you know and I'll write step by step tutorial how-to. Of course,if it will work. Anyway I think,that should do.
I've just used ResHacker to replace the .ico in an optimized compiled desktop app.
{The new icon is visible in Windows Explorer}
When I run the app, the original .ico is still visible in the app and taskbar, if I load the hacked app back into ResHacker, the original .ico is not there ?????
I've just used ResHacker to replace the .ico in a non optimized compiled desktop app.
{The new icon is not visible in Windows Explorer}
When I run the app, the original .ico is still visible in the app and taskbar, if I load the hacked app back into ResHacker, the original .ico is not there ?????
Oh,as I found now,the exefile has no resources to replace,as ResourceTuner said. Maybe it is not so good soft to do that. But usualy this way you can change anything,including bitmaps,texts,menus etc. My opinion is also,when you change icon as resource,the program icon should be the same. Strange...
Windows caches icons for apps so that it does not need to reread the icons for all the files at every startup. Once a file has an icon in the cache Windows doesn't seem to want to reread it. You can delete the icon cache and Windows will then rebuild it. Google for "Windows icon cache", there's a lot about it out there.
To clear the icon cache in XP make sure you can view hidden files and then open your Windows directory in Explorer and delete the file called "ShellIconCache".
In Vista each user has his own icon cache. To clear the icon cache in Vista make sure you can view hidden files and then open the "local " folder in your user folder \Users\USERPRNAME\AppData\Local and delete the file called "IconCache.db".