Re: Vista: Drives me Nuts!
Hmmm, not sure. Vista is pretty picky about the registry.
Have you thought about setting an intermediate value then evaluating that?
Code:
xLength = Len(RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0)))
If xLength >= 1 Then GoTo SkipThisOne
and maybe this will work better....
Code:
If IsNull(RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0))) Then GoTo SkipThisOne
or maybe try an intermediate value here also
Code:
If IsNull(RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0))) Then TempFlag = True else TempFlag = False
If TempFlag then GoTo SkipThisOne
Re: Vista: Drives me Nuts!
My suggestion:
Code:
Dim sValue As String
'... ...
sValue = "" & RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0))
If Len(sValue) Then GoTo SkipThisOne
'... ...
SkipThisOne:
Re: Vista: Drives me Nuts!
Thanx guys but no, no, no... Its still there!!!
Len = 0 but it still goes through when it shouldnt!!