Oh, yes you are right, being x64 changes everything.
you must include Wow6432Node or else it iwll not read it. My previous code will look like:
Dim pRegKey As RegistryKey = Registry.LocalMachine
pRegKey = pRegKey.OpenSubKey("SOFTWA
RE\\Wow643
2Node\\PH Resizer")
Dim val As Object = pRegKey.GetValue("PathTest
")
Console.WriteLine("Your value is:" + val)
Check:
http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/1274ff87-5744-4598-89fa-c221d2a2fa5b