Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
i need to create windows application that when i click on button it read keys and values in register in grideview .
Posted 4-Nov-12 3:31am
EnGo11345
Comments
OriginalGriff at 4-Nov-12 9:32am
   
And? What is your question?
What have you done so far? Where are you stuck?
EnGo11 at 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 at 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 at 4-Nov-12 11:15am
   
just i need the code or how can the code read register keys and values from windows register
Nelek at 4-Nov-12 11:16am
   
EnGo11 at 4-Nov-12 11:27am
   
i week in english language >> and thank you nelek for this help
Nelek at 5-Nov-12 3:07am
   
The problem is not english, the problem is you don't give enough information about the problem. So it is difficult to know what happens and how to help you
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
I think this article can help you:
Read, write and delete from registry with C#[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

"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#
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 668
1 OriginalGriff 396
2 Tadit Dash 345
3 sanket saxena 329
4 Peter Leow 203
0 Sergey Alexandrovich Kryukov 12,109
1 OriginalGriff 7,326
2 Peter Leow 5,013
3 Abhinav S 4,013
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web01 | 2.8.140421.2 | Last Updated 4 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid