C
cyberco
WM5 PPC
In order to show the GPS Control Panel on my Tytn I have to delet the
registry key:
HKEY_LOCAL_MACHINE\ControlPanel\GPS Settings\Hide
But the following code:
RegistryKey registryKey =
Registry.LocalMachine.OpenSubKey(gpsRegistryKeyName);
registryKey.DeleteSubKey("Hide");
registryKey.SetValue("Group", "2",
RegistryValueKind.DWord);
registryKey.Close();
throws:
System.UnauthorizedAccessException:
UnauthorizedAccessException
Is it possible to delete this key at all?
2B
In order to show the GPS Control Panel on my Tytn I have to delet the
registry key:
HKEY_LOCAL_MACHINE\ControlPanel\GPS Settings\Hide
But the following code:
RegistryKey registryKey =
Registry.LocalMachine.OpenSubKey(gpsRegistryKeyName);
registryKey.DeleteSubKey("Hide");
registryKey.SetValue("Group", "2",
RegistryValueKind.DWord);
registryKey.Close();
throws:
System.UnauthorizedAccessException:
UnauthorizedAccessException
Is it possible to delete this key at all?
2B