08-23-2019 01:48 PM
I have LabVIEW 17.0f2 32-bit, and was trying to build a custom icon file for my built executable using LabVIEW's built-in Icon Editor. It kept making my background transparent when I created a shortcut for the app, and my icon was unreadable. I couldn't figure out how to make the background opaque, so I checked the build option checkbox to use the default LabVIEW icons instead. When I rebuild the app, I get the correct LabVIEW icon to show in Windows Explorer, but when I create a shortcut and drag it to the desktop, the original icon I created is still used. I have tried everything, including cleaning the build and deleting the .ico file I created. I don't know why I can't get rid of this icon. Any assistance would be greatly appreciated - I've spent way to much time messing around with this already.
Solved! Go to Solution.
08-23-2019 02:09 PM - edited 08-23-2019 02:09 PM
Blindly guessing: Maybe it's a caching issue of windows explorer. Do a google search for e.g. "windows 10 rebuild icon cache" for instructions.
08-23-2019 02:13 PM
Ah, yes, the Windows IconCache. Don't blame NI for this, it is a "feature" of Microsoft. The steps to fix this can be found by doing Web search (try using "Clear Icon Cache") and following the directions (it is just a tad complicated).
Bob Schor
08-23-2019 02:31 PM
Thanks for the quick reply and the correct blind guess, altenbach!
As soon as I read your post, my memory was jogged. This happened to me once before, at least five years ago, and clearing the cache was the solution. I had forgotten all about it until you slapped me upside the head 🙂
I guess when Microsoft has such a nice 'feature', they keep it around a long time...