Hi all...
I have a custom control that I want to assign an icon that is similar to the icon of a control already present in VS 2005 toolbox but with a little change so I need to create a copy of it and made the modifications.
I was searching for all Windows.Forms DLL's but I couldn't find them.
Can you point me to the right file that stores these resources
Thanks
Jaime

Where are windows forms controls icons stored?
Matthew_M81
#Sid
Why not post the solution here
GanjaDoc
I have it in my office
Send an email to me
itzik.katzav@softwear.co.il
or to eli gazit
eli.gazit@softwear.co.il
and we will send you the answer first thing in the morning, if eli is online i will ask him to answer u the question here
DanoruX
Hi Itzik..
I knew about VS2005ImageLibrary but when I looked for the icons I was searching for, I found only command icons, not toolbox icons. I searched in all directories and maybe I am a little blind :-)
My experience in resources and specially developing using Visual C++ make me to be sure that those icons are stored in a DLL or in an EXE and they can be retrieved using programs such as Microangelo. For example, by using Microangelo I could get all toolbar icons belonging to Microsoft Office toolbar.
The fact is that I was looking using that icon tool for all more obvious .NET framework DLL's but I could find any icons there, or maybe they are protected so that they are hidden to those kind of programs.
could a Microsoft programmer clarify this perhaps :-)
Thanks
Jaime
YJMark
Then use the reflector to open System.Windows.Forms.dll, you should see all the toolbox icons in BMP format under the Resources folder. The reflector can extract them for you, so you can edit it later.
Regards,
-chris
Matt Rudder
If all you want is to use the stock icon for the control that you've inherited then it's as simple as applying an attribute.
[ToolboxBitmap(typeof(System.Windows.Forms.TabControl))]
public class TabControl : System.Windows.Forms.TabControl
Edit: I suppose I should read the question before I answer
Muhammad Irfan Azam
Yes.. you should :-)
TonyV
Don't be mad I was trying to help him and make sure that he will remind me:
here is the path
C:\Program Files\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary
make sure you have the new VS version 2005