Click here to Skip to main content
14,668,658 members
Rate this:
Please Sign up or sign in to vote.
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 9:44am
v2

Rate this:
Please Sign up or sign in to vote.

Solution 2

First, read the registry value, then assign it to the text property of the label.
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

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...
   
Rate this:
Please Sign up or sign in to vote.

Solution 4

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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100