Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Toolbar Internet , +
How can I create the horizontal toolbar for internet explorer. I have followed the following documents to create the toolbar...
 
Pretty IE Toolbar in C#
 
This code is working fine with the explorer bar only. if i am trying to use the same for the vertical explorer bar then it is not working.
 
so i changed my code according to this article http://msdn.microsoft.com/en-us/library/aa753590%28v=vs.85%29.aspx but that is also not working.
 

 

              RegistryKey rkClass1 = Registry.ClassesRoot.CreateSubKey(@"CLSID\" + guid + @"\InProcServer32");
              RegistryKey rkCat1 = rkClass1.CreateSubKey("ThreadingModel");
              rkCat1.SetValue(guid, "Apartment");
 
              RegistryKey rkClass2 = Registry.ClassesRoot.CreateSubKey(@"HKEY_CLASSES_ROOT\CLSID\" + guid +@"\Instance");
              RegistryKey rkCat2 = rkClass2.CreateSubKey("CLSID");
              rkCat2.SetValue(guid, "{4D5C8C2A-D075-11d0-B416-00C04FB90376}");
 

              RegistryKey rkClass4 = Registry.ClassesRoot.CreateSubKey(@"HKEY_CLASSES_ROOT\CLSID\" + guid + @"\Instance\InitPropertyBag");
              RegistryKey rkCat4 = rkClass4.CreateSubKey("Url");
              rkCat4.SetValue(guid, "http://yahoo.com");
 
             
              RegistryKey rkClass7 = Registry.ClassesRoot.CreateSubKey(@"HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Explorer Bars\" + guid);
              RegistryKey rkCat7 = rkClass2.CreateSubKey("BarSize");
              rkCat7.SetValue(guid, "97 00 00 00 00 00 00 00");
 

Please guide me what should i do.....
 
Thanks,
Vikash
Posted 22-May-12 1:20am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100