View Single Post
Old 09-26-2007, 09:37 AM   #2
Jaf
Newbie
 
Join Date: Sep 2007
Posts: 26
My Photos: ()
Can somebody help me with this example plz...?

RegistryKey SDKey = Registry.ClassesRoot.OpenSubKey(@"CLSID\{FB7DFEC0-05D1-4853-BA41-3D2FE15295FE}\LocalServer32\");
object oValue = SDKey.GetValue("");

1) I can't find "Key\LocalServer\", only "Key\InprocServer\"
2) SDKey.GetValue(" "); do i have to put something instead of the " " (i.e. "CodeBase")
3) I always get the following error, and there is not much info on this:
CLSID {FB7DFEC0-05D1-4853-BA41-3D2FE15295FE} failed due to the following error: 80040154.

Can somebody help me please.
Thanks!
Jaf is offline   Reply With Quote