Improve company productivity with a Business Account.Sign Up

x
?
Solved

Easy - Custom Icon for DLL

Posted on 2004-04-02
6
Medium Priority
?
475 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 200 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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 clear a vector as well as how to detect empty vectors in C++.

608 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