Here is my code for initialization, I replaced the path with ...
RegistryKey rk= Registry.LocalMachine;
rk = rk.OpenSubKey("HKEY_LOCAL_MACHINE\\...");
string dbdata=rk.GetValue("configdb");
I get the error ConsoleApplication.Program1.rk is a field but is used like a type. I am not sure what the issue is, thanks!

New Topic/Question
Reply




MultiQuote







|