开发者

Windows 7 taskbar icon not displayed in .net 3.5 application

My application is in .net 3.5 its icon appears fine on the Windows 7 taskbar when I am running the application. But, when I pin my application to the taskbar, the icon dispappears an开发者_如何学Pythond is replaced with the default windows "no icon" image. I tried making a 48 bit image for my .ico but that didn't solve the problem.


The icon you're seeing when the application is not pinned is the window's icon. When it's pinned, the application's icon is used instead. Go to the project's properties and set an icon in the Application tab (this should of course be the same icon used for the main window to avoid any confusion).


I just noticed: If you pin an app that is started from within visual studio the "empty" icon is used always, because the link is set to "AppName.vshost.exe" executable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜