PC Review


Reply
Thread Tools Rate Thread

How can I programmatically re-enable a toolbar?

 
 
Chris Shearer Cooper
Guest
Posts: n/a
 
      19th Jun 2009
Here's the scenario:
1. User installs my toolbar into MSIE
2. User disables toolbar inside MSIE by right-clicking on toolbar and
un-checking it
3. User can't figure out why toolbar is gone, re-installs
4. Re-installation doesn't help, user calls and complains.

So I would like my toolbar installer to be able to (1) detect that the
user disabled the toolbar, and (2) re-enable it if so.

(1) seems reasonably straightforward, I look in [HKEY_CURRENT_USER
\Software\Microsoft\Windows\CurrentVersion\Ext\Settings] and see if my
toolbar's CLSID is there. That works.

But then if I delete my toolbar's CLSID from [...\Ext\Settings], the
next time I run MSIE, my toolbar still isn't re-enabled.

For what it's worth, during development I run MSIE 8 under XP.

Is this some security thing, that prevents me from programmatically re-
enabling a toolbar? Is there some API I need to call, instead of
directly manipulating the registry? Some weird authentication token
thingy?

Thanks,
Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programmatically enable Add-ins =?Utf-8?B?YmFsYWppIGNoYW5kYW4=?= Microsoft Outlook Program Addins 11 18th Jul 2007 09:54 PM
How to programmatically enable a rule? =?Utf-8?B?UFc=?= Microsoft Outlook VBA Programming 1 20th Apr 2007 06:17 AM
Enable Cleartype Programmatically =?Utf-8?B?Sm9zZXBoIEhhbm5h?= Microsoft Dot NET Compact Framework 2 13th Feb 2006 10:06 AM
Analysis ToolPak - enable it programmatically? davidfox Microsoft Excel Programming 2 21st Dec 2005 12:36 PM
Is it possible to enable/disable scripting in IE programmatically? MJB Microsoft VB .NET 3 4th Dec 2004 10:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 AM.