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
 

MarcRB

Active Member
Licensed User
Longtime User
Thank you in advance.

In the zip icon.ico and the .png sourcefile I used to create that .ico
 

Attachments

  • Icon.zip
    30.8 KB · Views: 48
Upvote 0

MarcRB

Active Member
Licensed User
Longtime User
Thank you for testing.

Restarting PC does not change the image.
Removing the shortcut and re-inserting it works, but the question is for how long.

If I discover anything else, I will report it here to help others who experience this problem.
 
Upvote 0
Top