PDA

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


Dayo312
Jan 27th, 2000, 04:21 AM
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

Gaurav
Jan 27th, 2000, 12:34 PM
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

Dayo312
Jan 27th, 2000, 12:37 PM
I want to delete the keys.
Thanks alot, Im looking forward
to your help :)