B4J Question app icon in shortcut disappear on Windows Desktop

MarcRB

Active Member
Licensed User
Longtime User
Why does the icon of an application developed in B4J change to a white image? This happens on some computers but not on all PCs where the application is used.
The executable has an icon, which features an image of a fish, and when creating a shortcut on a Windows 11 PC, it correctly displays with that image on the desktop. The application is not installed using an installer but is opened from a folder on the C drive. The desktop shortcut points to that folder as well. After a few hours/days, or after a restart or update of the .exe (this is still unclear), the image suddenly disappears. The shortcut remains, and it still works, but now it suddenly has no image.

It might work with a setup, but it should still work properly without one, right?
Best regards, Marc


Icon in Project Attributes and File in application folder:
#Region Project Attributes

    #PackagerProperty: IconFile = ..\Files\icon.ico
 
Top