keschuster
asked on
Get the value from registry using VB.net
When i try to get the value from Current_user registry settings the below code is fine on my window7 machine.
regKey = Microsoft.Win32.Registry.C urrentUser .OpenSubKe y("Softwar e\PTS Tools", True)-OK
But if i use same code for LOCAL_MACHINE it is not working and it is giving error that SecurityException was un handled
regKey = Microsoft.Win32.Registry.L ocalMachin e.OpenSubK ey("Softwa re\PTS Tools", True)-Not OK
Can you please provide the solution to read LOCAL_MACHINE registries using VB.Net
regKey = Microsoft.Win32.Registry.C
But if i use same code for LOCAL_MACHINE it is not working and it is giving error that SecurityException was un handled
regKey = Microsoft.Win32.Registry.L
Can you please provide the solution to read LOCAL_MACHINE registries using VB.Net
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
http://dirk.schuermans.me/?p=104