Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: icon
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 17-Mar-12 1:44am

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 200
2 Richard MacCutchan 135
3 DamithSL 95
4 Maciej Los 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 17 Mar 2012
Copyright © CodeProject, 1999-2014
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