I am having a problem creating a registry key. I am using the following
code:
My.Computer.Reg istry.LocalMach ine.CreateSubKe y("Software\pro gramalpha")
My.Computer.Reg istry.LocalMach ine.SetValue("l oglevel", "7")
My.Computer.Reg istry.LocalMach ine.GetValue("l oglevel")
When I run the above code the programalpha key is created. The loglevel
value (which can hold the value of numbers between 1 and 10) does not get
created. What am I doing wrong?
Thanks,
Ben
code:
My.Computer.Reg istry.LocalMach ine.CreateSubKe y("Software\pro gramalpha")
My.Computer.Reg istry.LocalMach ine.SetValue("l oglevel", "7")
My.Computer.Reg istry.LocalMach ine.GetValue("l oglevel")
When I run the above code the programalpha key is created. The loglevel
value (which can hold the value of numbers between 1 and 10) does not get
created. What am I doing wrong?
Thanks,
Ben
Comment