eagle00789
New member
- Joined
- Sep 14, 2014
- Messages
- 2
- Programming Experience
- 5-10
I have the following 2 lines of code to read some value from the registry upon opening my about-form, but the registry isn't being read and the default value isn't used.
What am i doing wrong and why is the default value not being used...
VB.NET:
Dim LicenseTo = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\Software\sample\app\License", "LicenseTo", "DEMO")
Dim LicenseKey = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\Software\sample\app\License", "LicenseKey", "DEMO")