Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting application icon in Explorer?

Tags:

c#

icons

wpf

I am trying to set a file icon for a program I am creating. I can get the icon to show on the taskBar when I am running the program. But I can't get it to show in a file explorer.

Here is an example screenshot from Explorer:

Example

I have embedded the icon into the project, and set it as the windows icon using

Icon="Sample.ico" 

Thanks

like image 951
Stephen White Avatar asked Jan 14 '16 03:01

Stephen White


People also ask

How do I change app icons in Explorer?

Right-click the shortcut you created, click Properties, and then click Change Icon. Click the picture of the icon you would like the shortcut to use, click OK, and then click OK.

How do I change the icon of a program in Windows 10?

Go to Settings > Personalization > Themes and on the right side of the window, select Desktop icon settings. This will launch a new window where you can toggle the icons for This PC, your user folder, Network, Control Panel, and the Recycle Bin. While here, you can also change the icons for these shortcuts if you want.

Where is the application icon?

The application icon is always displayed in the menu bar. When you open the application window, the application icon also appears in the Dock. To open the application icon menu, Click the application icon in the menu bar.

How do I add an icon to an application?

Touch and hold the app, then lift your finger. If the app has shortcuts, you'll get a list. Touch and hold the shortcut. Slide the shortcut to where you want it.


1 Answers

Have you selected the icon for your application? (project properties > tab application > symbol and manifest > symbol)

like image 89
Pollitzer Avatar answered Sep 22 '22 09:09

Pollitzer