Reading 64bit Registry Keys

I have a registry value I’m trying to read that’s in HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\

I’ve used:
dim reg as new RegistryItem( “HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication” )

However, this is actually returning the registry for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MyApplication\

How can I force it to return the registry key I’m wanting and not the 32bit version ?



In our RegistryMBS class, we have parameters for using 64bit Registry:

Hi Christian,

So this isn’t possible in RB natively ? The help says that it can read the 64bit registry setting, but doesn’t say how.

I’ll see if I can work out how to do it with your plugin - not tried plugins before, but always a first time for everything :slight_smile: