2 Jun 2014 by Fredrik Bornander
Make sure you open the correct hive depending on machine configuration (64 or 32 bit).This code might work better for you;Sub Main() Using hklm As RegistryKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, IIf(Environment.Is64BitOperatingSystem, RegistryView.Registry64,...