Click here to Skip to main content
14,699,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, i have a question and i cant find a solution....So i want that when i use this :
RegistryKey masterKey = Registry.LocalMachine.CreateSubKey 
   ("SOFTWARE\\Test\\Preferences");
if (masterKey == null)


The registry key would be shown as label...

So what i want is a function that will read a value of one or more specific registry keys and show it on labels

Thanks
Posted
Updated 30-Dec-09 10:44am
v2

First, read the registry value, then assign it to the text property of the label.
   
First, read the registry value, then assign it to the text property of the label.

I am searching google 2 days now and nothing useful...
   
OK i found an answer to my problem here :

http://www.joejoe.org/forum/index.php?showtopic=16814
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900