My IE toolband switch name with other toolband

  • Thread starter Thread starter ningjun.wang
  • Start date Start date
N

ningjun.wang

I am developing a custom toolbar (called my toolbar) for Internet
explorer. It is a toolband com object. My toolbar switch name
with other IE toolbar such as the Google Toolbar.

I can consistently reproduce the problem as follow:

1. Install Google Toolbar
2. Install My Toolbar.
3. Uninstall My Toolbar. Click view > toolbar, the Goolgle Toolbar's
name become blank.
4. Instal my toolbar again. Click view > toolbar, both Google toolbar
and my toolbar appear. However click the Google toolbar will activate
my toolbar. Vice versa, click the my toolbar will activate the Google
toolbar.

It happen on IE 6.0 and XP.

How can I fix this problem?
 
Go to this site: http://toolbar.google.com/fixmenu After clicking on the
button there, close all instances of IE, then restart IE. All your toolbars
will be reset and the naming mix-up should be fixed. You'll probably have
to unlock your toolbars and move them back to the way you want them, then
relock your toolbars.
 
Yes, this fix the problem. But I want to know why my toolbar cause this
problem in the first place. My toolbar is distributed to many customers
and they report the same problem when they uninstall and reinstall. It
may well be a bug in my code.

One interesting thing I notice. When other toolbar (e.g. Google
toolbar) is activated, IE add the following registry key
[HKEY_CURRENT_USER]\Software\Microsoft\Internet
Explorer\Toolbar\WebBrowser\{toolbar class id}

When my toolbar is activate, IE did not add such registry key. This may
be the problem. What could be wrong with my code?
 
Back
Top