![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 1
Rep Power: 0
![]() |
how to parse the register entries
hai friends
i am a newbie. i want to read register valuse from HKEY_LoCAL_MACHINE/software. ..... i want only the folder names not all details. So i want to parse the reading. how i could do that ..please help... thanks in advance |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4
![]() |
I'm not sure how you're dumping the list of registry contents. You can get regedit to emit such a list I believe, but if your program wants to do it there must be a better way. I'm not a Windows man really so I can't help you much there.
Once you have a list of registry entries, parsing it is really just like any other string manipulation; you pluck out what's there by checking what's in the string where and taking the appropriate substrings. If you're having trouble with this you need an introduction to string manipulation and string handling in general. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|