Click here to Skip to main content
13,046,184 members (84,515 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 17 Mar 2012
Copyright © CodeProject, 1999-2017
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