Specifications: The Internet Explorer toolbar requires two sizes of icons: 20x20px (default) and 16x16px (full-screen) icons. The Internet Explorer toolbar requires two colors of icons: the default (greyscale) and active (color) icons. The Internet Explorer toolbar requires two color depths: 256-color and 16-color. The 256 color icon should be designed with the Windows halftone palette and the 16-color icon uses the Windows 16 palette. The Toolbar icons need to be placed in two .ico files. The first .ico file should contain: 16x16 16-color icon (required) 20x20 16-color icon (optional) 20x20 256-color icon (required) The second .ico file should contain: 16x16 16-shade icon (required) 20x20 16-shade icon (optional) 20x20 256-shade icon (required) Creating a New Button

If your registry doesn't contain a Shell node, it'll be silently created HKLM\Software\Microsoft\Internet Explorer\Extensions Add a new key (needs a newly created GUID) \{10954C80-4F0F-11d3-B17C-00C0DFE39736}\" ButtonText,Run Script,REG_SZ MenuText,Run Script,REG_SZ MenuStatusBar,Run Script,REG_SZ Clsid,{1FBA04EE-3024-11d2-8F1F-0000F87ABD16},REG_SZ Default Visible,Yes,REG_SZ Icon,d:\icon1.ico,REG_SZ HotIcon,d:\icon2.ico,REG_SZ Exec,d:\myprg.vbs,REG_SZ
Custom Button Registry Entries
EntryDescription
ButtonTextThe text label of the button and the tooltip
MenuTextThe text for the menu item that will appear under the Tools menu
MenuStatusBarThe text that appears on the status bar when the menu item is highlighted
IconThe ICO file to show when the button is normal
HotIconThe ICO file to show when the button is in its hot state
Default VisibleYes or No according to whether the button must be visible by default
ClsidA GUID identifying the type of the behavior associated with the button

Links: