Computing.Net > Forums > Programming > Creating a custom button in IE7 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.

Creating a custom button in IE7 Command Bar

Reply to Message Icon

Name: johnye_pt
Date: May 6, 2009 at 01:33:56 Pacific
OS: Windows XP
CPU/Ram: 2GB
Product: Oem / Oem
Subcategory: General
Comment:

Hi.

I posted this in Windows XP forum, that i guess it was the wrong forum to ask for help.

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 my custom sidebar. I tried this REG but didn't work:

----------------------------------------
; 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), my custom button shows up and it opens messenger. If i use my CLSID value, my custom button doesn't show up.

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 Programming Forum Home


Sponsored links

Ads by Google


Results for: Creating a custom button in IE7 Command Bar

creating cuustom toolbar buttons in vb f www.computing.net/answers/programming/creating-cuustom-toolbar-buttons-in-vb-f/1081.html

how to create a modeless dialog in VC++ www.computing.net/answers/programming/how-to-create-a-modeless-dialog-in-vc/2994.html

Create a user profile in Visual C++? www.computing.net/answers/programming/create-a-user-profile-in-visual-c/1996.html