A ABC Nov 10, 2005 #1 Which function can retrieve the registry string from HKEY_Current_User\Control Panel\International\sShortDate?
Which function can retrieve the registry string from HKEY_Current_User\Control Panel\International\sShortDate?
T Truong Hong Thi Nov 10, 2005 #2 using Microsoft.Win32; using (RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Control Panel\International")) { return key.GetValue("sShortDate"); }
using Microsoft.Win32; using (RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Control Panel\International")) { return key.GetValue("sShortDate"); }
D Daniel O'Connell [C# MVP] Nov 10, 2005 #3 ABC said: Which function can retrieve the registry string from HKEY_Current_User\Control Panel\International\sShortDate? Click to expand... Look at the Registry and RegistryKey classes in the Microsoft.Win32 namespace.
ABC said: Which function can retrieve the registry string from HKEY_Current_User\Control Panel\International\sShortDate? Click to expand... Look at the Registry and RegistryKey classes in the Microsoft.Win32 namespace.