Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (http://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Reading registry key on Win7 x64 (http://www.kinook.com/Forum/showthread.php?t=4965)

Rogier 02-15-2012 10:51 AM

Reading registry key on Win7 x64
 
I'm reading some string from the registry like this:
Code:

%REG_READ("HKEY_LOCAL_MACHINE\SOFTWARE\Manufacturer\ProgramName\InstallPath")%
I'm actually using Windows 7 64-bit. This particular program happens to be a 64-bit program, so its registry key is as specified above, i.e. not in Wow6432Node.

However, VBP7 being a 32-bit app, accessing the registry will automatically access the corresponding keys within Wow6432Node.

Is there a way around this?

kinook 02-15-2012 11:03 AM

Not using the REG_READ macro, but you can use the Read Registry action and check the 'Access 64-bit registry view' option.
http://www.kinook.com/VisBuildPro/Ma...adregistry.htm

Rogier 02-16-2012 05:53 AM

Excellent, thanks! Works like charm.


All times are GMT -5. The time now is 09:02 AM.


Copyright 1999-2019 Kinook Software, Inc.