Hallo
ich habe wieder ein Problem
Bei mir klappt jetzt alles außer Werte auslesen.
wenn ich sage getValue(), dann bekomme ich ein Runtime Fehler

mein Code ist:

RegistryKey rk3 = new RegistryKey(RootKey.HKEY_LOCAL_MACHINE,"Software");
{
.....Paar schliefe
....Aufgabe Unterverzeichnis z.B. Software\Microsoft\Office\8.0
wenn diese Path ein Value hat, soll den Wert aus geben z.B. D:Office97\Office
if(rk3.hasValue)
{
RegistryValue rv =
new RegistryValue(ValueType.REG_SZ);
->Hier bekomme ich Runtime Fehler: getValue()
->Runtime Error!
->This application has requested the runtime to terminate it in a unsual way. Please contact the application's support team for more information
rv = rk3.getValue(
"BinDirPath");
}
-->
bei Überwachung bekomme ich diese Meldung
[toString() unavailable - no suspended threads]

wer kann mir weiter helfen
Danke im Voraus.