PDA

Click to See Complete Forum and Search --> : Repost: Registry Problem


Dayo312
Jan 28th, 2000, 12:07 AM
Dayo312
Member posted 01-27-2000 05:21 PM
--------------------------------------------------------------------------------
I need a little push in the right direction on a good way to do this.
I Want to have my VB program run through one part of the registry and it the values on the Keys are the same as any filename in one directory then I would like the value deleted.

How could I do this with out a huge headacke?

Evan

IP: Logged

Gaurav
Member posted 01-28-2000 01:34 AM
--------------------------------------------------------------------------------
Ok let me understand this.
You got a set of keys under a particular Registry hive. Lets say HKEY_CURRENT_USER?
so the set would be HKEY_CURRENT_USER\My App\My Key1
HKEY_CURRENT_USER\My App\My Key2
HKEY_CURRENT_USER\My App\My Key3 ...

Correct? Now u want to scan thru the VALUES associated with these keys,
Compare them with a set of file names.
And based on a result, you want to delete the VALUES? or do u want to delete the KEYS themselves?

Tell me that n i'll help u out with a solution.

Cheers,
Gaurav

IP: Logged

Dayo312
Member posted 01-28-2000 01:37 AM
--------------------------------------------------------------------------------
I want to delete the keys.
Thanks alot, Im looking forward
to your help