Hi,
Using visual studio 2005 and .NET 2.0, when I right click on a toolbar strip
and choose "Insert Standard Items", the IDE adds standard buttons and icons
to the toolbar. So far everything is cool.
Now, I tried to fin where the added ICONS comes from, no clue!. The only
thing that I could find is the following line in the designer generated
code:
this.saveToolStripButton.Image =
((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
I searched google and MSDN for "saveToolStripButton.Image" to see what is it
and where it comes from, still no clue.
Could you explain where "saveToolStripButton.Image" comes from and is there
any place to list all embedded images within framework?
Any help would be appreciated,
Alan
Phil - 16 Jan 2006 22:20 GMT
Hi,
I have the same problem and would love to know the answer! I simply want to
add a delete button at this stage!
Regards,
Phil
> Hi,
>
[quoted text clipped - 18 lines]
>
> Alan
Keith Elder - 17 Jan 2006 02:33 GMT
> Hi,
> I have the same problem and would love to know the answer! I simply want to
[quoted text clipped - 25 lines]
>>
>> Alan
I've wondered the same thing. I think the icons are embedded in source
code but I'm not sure. If someone knows, PLEASE answer this thread :)
"Jeffrey Tan[MSFT]" - 17 Jan 2006 06:25 GMT
Hi,
Thanks for your post.
Yes, these images are embeded in the Form1.resx file. You can open
Form1.resx with default resource editor, then you will see these images.
For more information regarding resource in .Net Winform, please refer to
the article below:
"Microsoft .NET Framework Resource Basics"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnforms/htm
l/winforms02202003.asp
Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Phil Williams - 17 Jan 2006 20:41 GMT
Thanks for that, it gave me a better insight into how it works.
I guess what I was after was the actual standard icons that are not included
in the ms standard icons. ie the delete bitmap, and the print preview bitmap
etc.
I dont suppose you know where I can get these?
Thanks in advance,
Phil
> Hi,
>
[quoted text clipped - 15 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 18 Jan 2006 05:31 GMT
Hi,
I am not sure about which specific icon you wanted. Based on my experience,
most of the icons are embeded as Win32 resources in corresponding dll or
exe file. You may use VS.net IDE to open these dll/exe PE file. Then you
will get all the resource embeded in it. Some icons can be loaded with
LoadIcon API, please refer to:
"Find Icons, Launch an App from List Control, and More"
http://msdn.microsoft.com/msdnmag/issues/03/03/CQA/default.aspx
Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Phil Williams - 18 Jan 2006 21:40 GMT
Thanks for that, I have them now as you said, they are in the resources
file.
Phil
> Hi,
>
[quoted text clipped - 14 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Chuck@newsgroup.nospam - 15 Mar 2006 04:38 GMT
They are in:
C:\Program Files\Microsoft Visual Studio
8\Common7\VS2005ImageLibrary\VS2005ImageLibrary
>Hi,
>
[quoted text clipped - 18 lines]
>
>Alan
Maxwell2006 - 17 Mar 2006 19:55 GMT
Yummy!
Thanks alot
> They are in:
> C:\Program Files\Microsoft Visual Studio
[quoted text clipped - 26 lines]
>>
>>Alan