B
Ben
I am having a problem creating a registry key. I am using the following
code:
My.Computer.Registry.LocalMachine.CreateSubKey("Software\programalpha")
My.Computer.Registry.LocalMachine.SetValue("loglevel", "7")
My.Computer.Registry.LocalMachine.GetValue("loglevel")
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.Registry.LocalMachine.CreateSubKey("Software\programalpha")
My.Computer.Registry.LocalMachine.SetValue("loglevel", "7")
My.Computer.Registry.LocalMachine.GetValue("loglevel")
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