J
James Caan
Hello
I have problem deleting a subkey which I've create some seconds before:
Dim x As OpenNETCF.Win32.RegistryKey
x = OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey("Software")
x.CreateSubKey("Test")
System.Threading.Thread.Sleep(10000)
x.DeleteSubKey("Test")
This is throwing an error "The specified subkey is not a valid reference to
a registry key"
The interesting thing is, if I wait several minutes, I can delete the
subkey...
Why?
Thanks
James
I have problem deleting a subkey which I've create some seconds before:
Dim x As OpenNETCF.Win32.RegistryKey
x = OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey("Software")
x.CreateSubKey("Test")
System.Threading.Thread.Sleep(10000)
x.DeleteSubKey("Test")
This is throwing an error "The specified subkey is not a valid reference to
a registry key"
The interesting thing is, if I wait several minutes, I can delete the
subkey...
Why?
Thanks
James