The AboutBoxIcon can store icon information in 4 ways:
- "#<resource ID>": in this case, you specify an icon of the satellite DLL
of the add-in.
- "<path_to_icon_file>": a path to a file with the icon
- "<path_to_exe_file>,<resource ID>"a path to an executable with the icon
- the binary data of the icon directly, in the form of an array of bytes.

Signature
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
> When you go through the wizard to create an add-in for VS.Net, you get the
> option of including an AboutBoxIcon, and it says that you can chanfe it
[quoted text clipped - 15 lines]
> Thanks in advance.
> WALDO
WALDO - 01 Feb 2005 14:52 GMT
Wow. I didn't know all that.
What .Net classes can I use to read win32 resources out of a binary file. I
did see one add-in in my registry that had values for the friendly name as
#106. I figured it must be embedded in the satellite dll as a win32
resource, but hadn't confirmed it. I figure I'll just use regular
expressions to figure out which type they are.
if registry entry is string type then
^\#\d+$ - win32 resource in satellite dll
^.*?(\.(exe|dll))\,\d+$ - win32 in binary
^.*?\.ico$ - icon file
else if registry entry is byte array (binary) then
read into byte array
write to memory stream
create icon from stream
end if
> The AboutBoxIcon can store icon information in 4 ways:
>
[quoted text clipped - 23 lines]
> > Thanks in advance.
> > WALDO
Peter Macej - 02 Feb 2005 10:34 GMT
> The AboutBoxIcon can store icon information in 4 ways:
>
> - "#<resource ID>": in this case, you specify an icon of the satellite DLL
> of the add-in.
> - "<path_to_icon_file>": a path to a file with the icon
> - "<path_to_exe_file>,<resource ID>"a path to an executable with the icon
Does it really work? I tried <path_to_icon_file>, no success. I found
that for example AnkhSVN addin uses <path_to_exe_file>,<resource ID>
approach but it also shows no icon. I tried it with both VS 2002 and VS
2003. Only binary array works for me.

Signature
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
.NET and ASP .NET code
Carlos J. Quintero [.NET MVP] - 02 Feb 2005 18:57 GMT
I don´t know, I read it on the book "Inside Microsoft Visual Studio .NET
2003"...

Signature
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
>> The AboutBoxIcon can store icon information in 4 ways:
>>
[quoted text clipped - 7 lines]
> but it also shows no icon. I tried it with both VS 2002 and VS 2003. Only
> binary array works for me.