Hello
I want to write a value to the registry so my program starts at Windows startup.
I have this simple code:
Dim reg As New RegistryItem("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run")
reg.Value("test") = "c:\\test.exe"
But, the value isn’t in the Registry, do I need to do something else to write it?
Thanks
Edit: I run the program as administrator, I’m not getting any error messages too.