richard david briggs briggs
Posts: 1
Joined: 2009-11-04
|
I have to allow user to choose from ODBC datasources for my toolbar application.
This works fine generally, but when in Vista Protected mode, the following Second line of code returns null:-
RegistryKey reg = (Registry.CurrentUser).OpenSubKey("Software") // this is ok;
reg = reg.OpenSubKey("ODBC");// this returns null
Can you help explain why?
Should I be using a different method of reading the registry in proteced mode? |
|
Eugene Astafiev
Guest
|
Hello Richard,
I would recommend you reading open the key in the one line of code instead. Please let me know whether it helps. |
|