Solved

Easy - Custom Icon for DLL

Posted on 2004-04-02
6
431 Views
Last Modified: 2011-08-18
Hi experts,
how do I specify a DLL's icon (am using MS VS.NET, but compile with the command line (cl)).

I have created the icon I wish to use.

Any advice appreciated
0
Comment
Question by:Jazzle
  • 3
  • 3
6 Comments
 
LVL 15

Expert Comment

by:lakshman_ce
ID: 10744890
I think this is easy if you just change the icon how a dll should appear in windows explorer using the Explorer->File types. You can also refer to
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20511189.html

Plz don't try this http://www.icon-maker.com/download.htm  It appears not to work when I tried

-Lakshman
0
 
LVL 1

Author Comment

by:Jazzle
ID: 10745231
no - i want to specify a custom icon for just this DLL.
0
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 50 total points
ID: 10745344
If there is any form or window in your application you can set icon to that form or window by using SetIcon method of CWnd. But, I don't think it is possible to change the icon specifically for a dll.

-Lakshman
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:Jazzle
ID: 10747153
there is no form - but it must be possible - I'm sure I've seen Windows DLLs which had custom icons.
0
 
LVL 15

Expert Comment

by:lakshman_ce
ID: 10748779
If you search for *.dll in C:\Program Files\Microsoft Visual Studio .NET, you will all the dlls with the same icon associated with it. This icon cannot be customized unless you change the icon for all the dlls.

-Lakshman
0
 
LVL 1

Author Comment

by:Jazzle
ID: 10749258
oh well, shame.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now