Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 24th, 2005, 6:04 AM   #1
mili_sankar
Newbie
 
Join Date: Jun 2005
Posts: 1
Rep Power: 0 mili_sankar is on a distinguished road
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
mili_sankar is offline   Reply With Quote
Old Jul 3rd, 2005, 9:02 AM   #2
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
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.
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC