[RESOLVED] Help Getting Ark's Registry Searcher's To Work
Hello, I'm having a slight problem with Ark's registry search from freevbcode.com
It can be found at http://freevbcode.com/ShowCode.Asp?ID=3175
I think I'm a little braindead but I'm trying to figure out how to get Ark's registry searching code to search the registry values of the first key it searches. For example, if I searched in HKEY_LOCAL_MACHINE\SOFTWARE\Test for the value, "Test Value" and the value existed in that key, it wouldn't find it. Am I doing something wrong? Thanks
Re: Help Correcting Ark's Registry Searcher's Bug
Actually, I forgot to mention that I modified the code so that probably has something to do with it. Let me test it out again.
Re: Help Getting Ark's Registry Searcher's To Work
I think I got it now. I was confused between EnumRegKeys and EnumRegValues. If I just used EnumRegKeys, it would scan its values, too but not the values in the original key. But if I used EnumRegValues, it just scans the key's values. I think I just had to use EnumRegValues first and then EnumRegKeys. I only used EnumRegKeys.