Computing.Net > Forums > Windows XP > Create a custom button in Command Bar

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Create a custom button in Command Bar

Reply to Message Icon

Name: johnye_pt
Date: May 1, 2009 at 04:19:06 Pacific
OS: Windows XP
CPU/Ram: 2GB
Product: Oem / Oem
Subcategory: Software Problems
Comment:

Hi.

In IE6, i replaced the default search sidebar page with my own, that had about 20 search engines and would send the search results to the main page.

In IE7, i recreated that custom search sidebar using the following REG:

----------------------------------------
Windows Registry Editor Version 5.00

; key generated by UUIDGEN.exe (SDK for Windows Server 2003 R2)
[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}]
@="IESearch"

[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}\Implemented Categories]

; horizontal Explorer Bar
[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}\Implemented Categories\{00021493-0000-0000-C000-000000000046}]

[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}\InProcServer32]
@="Shdocvw.dll"
"ThreadingModel"="Apartment"

; Explorer Bar uses HTML
[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}\Instance]
"CLSID"="{4D5C8C2A-D075-11d0-B416-00C04FB90376}"

; HTML location
[HKEY_CLASSES_ROOT\CLSID\{4193F222-D66E-42A4-A9C3-8D139B124162}\Instance\InitPropertyBag]
"URL"="C:\\IESearch\\IESearch.html"
----------------------------------------

This creates an entry in View -> Explorer Bar -> IESearch, and it is working.

Now i'm trying to create a button in the command bar, that opens by custom sidebar. I tried this REG with no avail:

----------------------------------------
; key generated by UUIDGEN.exe (SDK for Windows Server 2003 R2)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{BF7D43D1-E4D0-48FA-825E-42A8344A0127}]
"ButtonText"="IESearch"
"Default Visible"="Yes"
"Icon"="C:\\WINDOWS\\system32\\shell32.dll,23"
"CLSID"="{4193F222-D66E-42A4-A9C3-8D139B124162}"
"MenuStatusBar"="Opens Search SideBar"
"MenuText"="IESearch"
"ToolTip"="Opens Search SideBar"
----------------------------------------

If i change the CLSID value to {1FBA04EE-3024-11D2-8F1F-0000F87ABD16} (same as the messenger button), button shows up and it opens messenger. If i use mine, button doesn't show.

Can you help me?

I only do what the voices in my head command...



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Create a custom button in Command Bar

creating a new partition in XP www.computing.net/answers/windows-xp/creating-a-new-partition-in-xp/45590.html

Create custom IE toolbar www.computing.net/answers/windows-xp/create-custom-ie-toolbar/107605.html

Custom buttons for Windows Explorer www.computing.net/answers/windows-xp/custom-buttons-for-windows-explorer/155353.html