Solved

Easy - Custom Icon for DLL

Posted on 2004-04-02
6
422 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
Comment Utility
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
Comment Utility
no - i want to specify a custom icon for just this DLL.
0
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 50 total points
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:Jazzle
Comment Utility
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
Comment Utility
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
Comment Utility
oh well, shame.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

771 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

14 Experts available now in Live!

Get 1:1 Help Now