Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi 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

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900