1
Reply

Read registry keys HKEY_CURRENT_USER

anacinskywalker

anacinskywalker

Jul 22 2004 12:34 AM
1.8k
I have recently started programming with VB.Net and have run into the subject issue. I need to read one of the subkeys under HKEY_CURRENT_USER. I am using the methods under RegistryKey class, OpenSubKey and GetValue methods available. The value returned by OpenSubKey is Nothing.It seems to return a value only when "Software" key is passed in as a parameter. The string that I pass in is goes in much deeper(ie "Software\\Test\\Open\\3.1") Any suggestions ?

Answers (1)