Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need to create windows application that when i click on button it read keys and values in register in grideview .
Posted
Comments
OriginalGriff 4-Nov-12 9:32am    
And? What is your question?
What have you done so far? Where are you stuck?
EnGo11 4-Nov-12 10:59am    
i have windows form (button,gridview) when i click on button >> read a registry keys and values from windows register at gridview
OriginalGriff 4-Nov-12 11:03am    
And which part of that is giving you difficulty?
Remember, I can't see your screen, or read you mind - I only get what you have told us!
EnGo11 4-Nov-12 11:15am    
just i need the code or how can the code read register keys and values from windows register
Nelek 4-Nov-12 11:16am    

Hi,

I think this article can help you:
Read, write and delete from registry with C#[^]
 
Share this answer
 
"just i need the code or how can the code read register keys and values from windows register"

If you mean the Windows Registry, then assuming this is a legacy application (because the Registry is no longer recommended for general storage) Have a look at the RegistryKey class[^] - the link to MSDN includes an example of manipulating the registry from C#
 
Share this answer
 

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