Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

VS 2010 Cannot read from registry win 7 64 bit

$
0
0
Hi,

I´ve created a program that needs to read from the registry.


This doesn´t work on a win 7 64 bit machine. Can you tell me why, and what I need to do?
Code:

CStr(My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\mykey", "myvalue", Nothing))
Thank you

Fuga

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>