V
V
Vyacheslav Correct2017-03-11 08:10:45
C++ / C#
Vyacheslav Correct, 2017-03-11 08:10:45

Different icons for the program itself and in the taskbar in C#!?

I'm making a small application, there was a hitch.
The application has its own icon on the desktop, as well as its own icon in the form header. There is a task to display the application icon in the taskbar when the program is running (not to be confused with the system tray). But the icon from the form header is displayed in the taskbar. I can't find anything. Everyone on Google thinks the taskbar is the system tray.
I set the application icon through the project properties. On the worker everything is OK, the desired one is displayed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tom Nolane, 2017-03-11
@Zonor

there was a similar problem and its essence is (if you have WINDOWS OS) that caching of folders, thumbnails with all icons, etc. is used. and the old ones are used ... I don’t remember exactly how I cleaned it (either through the CCleaner program) or manually ...

CLEARING THE CACHE OF Thumbnails
This is done using the Disk Cleanup program. Go to "My Computer", right-click on "Local Disk C". Select "Properties" from the menu. Open the "General" tab
Next, select the drive we need from the list, in our case it is "C".
In the window that opens, in addition to the necessary, you can select additional cleaning options. Then click "OK" and "Delete Files".
If desired, thumbnail caching can be disabled altogether. This is done in the local group policy editor of the operating system (Win + R, enter the command gpedit.msc and "OK").
upd
after cleaning - icons (after recompilation) updated

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question