Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900