G
Guest
Imports OpenNETCF.win32
Imports Microsoft.Win32
Dim test9999 As RegistryKey
Dim testSettings As RegistryKey
test9999 = Registry2.LocalMachine.OpenSubKey("testName")
testSettings = test9999.OpenSubKey("TestSettings")
testSettings.SetValue("Language", "") '.......
unauthorizedAccess exception
testSettings.DeleteSubKey("Language") ' .... on either of these
lines
This code throws an unauthorizedAccess exception.
I previously created HKEY_LOCAL_MACHINE\testName\TestSettings\Language
with similay code except for using CtreatSubKey.
Any help appreciated.
Imports Microsoft.Win32
Dim test9999 As RegistryKey
Dim testSettings As RegistryKey
test9999 = Registry2.LocalMachine.OpenSubKey("testName")
testSettings = test9999.OpenSubKey("TestSettings")
testSettings.SetValue("Language", "") '.......
unauthorizedAccess exception
testSettings.DeleteSubKey("Language") ' .... on either of these
lines
This code throws an unauthorizedAccess exception.
I previously created HKEY_LOCAL_MACHINE\testName\TestSettings\Language
with similay code except for using CtreatSubKey.
Any help appreciated.