Registry key code not working in Windows Vista...

lidds

Well-known member
Joined
Oct 19, 2004
Messages
122
Programming Experience
Beginner
I have the following code in my application and the code works fine in Windows 2000, XP but for some reason does not work in Windows Vista, is someone able to help me with this?

VB.NET:
dim myReg as string = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\Software\MyCompany\MySoftware", "Path", Nothing)

Thanks

Simon
 
Back
Top