Click here to Skip to main content
11,795,848 members (77,608 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: icon
I want to apply a icon to my project but i have a big problem.
I must go to properties in visual studio then application tab.
Then choose icon from Icon filed.

But my big problem is Icon filed is Disable because i use a com dll in my project I must use second item ("Resource file") and user an external manifest file.

How can i solve this problem.

thanks for your answer
Posted 17-Mar-12 0:44am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you're trying to make the icon show in Windows Explorer, that's not really feasible.

Explorer (or rather, the shell) will only read icons from the file for EXEs and shortcuts. All DLL files will have the standard DLL icon, no matter what you do to the DLL.

If you really want to, you can probably edit the registry to make the shell on your machine only read icons from all DLLs the same way it does for EXEs, but if a program did that on my machine, I would be very, very cross.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 410
1 Abhinav S 368
2 OriginalGriff 300
3 Sergey Alexandrovich Kryukov 266
4 KrunalRohit 249
0 OriginalGriff 1,852
1 Maciej Los 1,465
2 KrunalRohit 1,300
3 CPallini 840
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 17 Mar 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100