|
-
Apr 27th, 2019, 10:23 AM
#1
Thread Starter
New Member
Retrieving registry sub-keys for proccessing
Hi Guys
I do understand how to get a value from the registry but my problem is getting a list of subkeys of a key...not even sure where to start...
For Example I have a key called GAMES and under that key a subkey called USERS...under there there are KEYS with usernames that I don't know until I look under that subkey USERS.. but I want to dynamically make a list of USERS subkeys so I can go back and process values under each one of those USER Keys...any Idea where to start?
Here is my example
Games
- Users
-Username1
HighScore = whatever
Username2
Highscore = whatever
Username3
Highscore = whatever
Basically I want to
I want to retrieve a List of the username keys so that i can later proccess the highscore values
can someone please lead me on the right path...
Thanks in advance
-
Apr 27th, 2019, 01:58 PM
#2
Re: Retrieving registry sub-keys for proccessing
Why are you using the Registry to store this data? A Database or Text file or XML ...... Seems better suited.
-
Apr 27th, 2019, 02:05 PM
#3
Thread Starter
New Member
Re: Retrieving registry sub-keys for proccessing
 Originally Posted by wes4dbt
Why are you using the Registry to store this data? A Database or Text file or XML ...... Seems better suited.
A different program is making the keys I just want to adjust them
-
Apr 27th, 2019, 02:13 PM
#4
Re: Retrieving registry sub-keys for proccessing
Ok, you don't have a choice. To be honest I don't know the answer, hardly ever mess with the registry. But maybe this will help https://docs.microsoft.com/en-us/dot...tframework-4.8
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|