Recent content by eagle00789

  1. eagle00789

    Question not able to read registry

    Full sollution: Dim regKey As RegistryKey Dim LicenseTo As String Dim LicenseKey As String regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\sample\app\License", False) If (regKey Is Nothing) Then LicenseTo = "DEMO" LicenseKey =...
  2. eagle00789

    Question not able to read registry

    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. Dim LicenseTo = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\Software\sample\app\License", "LicenseTo", "DEMO")...
Top Bottom