Alex Rivera | Logout

Change pinned taskbar icon (windows 7)

Asked 2009-06-09T09:17:59.523
27

I wan't to customize the icon displayed within the windows 7 taskbar. When my app is running, I can do it by changing main window icon but, when the app is pinned, the exe's icon is displayed.

How can I set the taskbar icon for my app to an icon different from the one embedded within the exe ?

Not tried, this solution may work but looks dirty.


Edit :

Our app is compiled once but depending on config file, features are enabled or not so it's a product or another. We do not want to compile one exe for each product.

The solution above may not work as many instances of my app can be installed in different pathes (so you end up with the same exe file name but different icons!), is this registry key poorly designed or am I missing something?

Edit
Report

2 Answers

0

I can't test this right now unfortunately, but perhaps just creating a regular, good old shortcut might solve the problem? Create a shortcut to the app, change the icon, then pin the shortcut instead of the app itself?

Will check when I can next get access to my Windows 7 machine...

answered 2009-06-17T11:01:08.167
-1

If you want to have a shortcut in the taskbar that goes directly to somewhere useful, such as your "My Documents" directory. The easy fix . . .

Drop a folder into the taskbar ( which creates a shortcut to images ). Navigate to the directory where that shortcut was placed, right click on the shortcut and select "properties" to change the target. Select the "general" tab to change the name of the shortcut. The shortcut was placed here:

C:\Users[user]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

You can navigate to this directory and edit the properties of the "images" shortcut.

answered 2013-07-01T17:40:37.217

Your Answer