>You mistyped Microsoft
>
>? loRegistry.IsKey("SOFTWARE\Microsoft\Office\12.0\Registration", HKEY_LOCAL_MACHINE)
>? loRegistry.IsKey("SOFTWARE\Microsoft\Office\14.0\Registration\", HKEY_LOCAL_MACHINE)
>
>
Sergey,
Pfff I have looked / stared at this for so long and never noticed. Thanks a lot.
However now, after correcting the typo I get on both lines .T. although
loRegistry.IsKey("SOFTWARE\Microsoft\Office\12.0\Registration", HKEY_LOCAL_MACHINE)
not availalble,
loRegistry.IsKey("SOFTWARE\Microsoft\Office\12.0", HKEY_LOCAL_MACHINE) has only one branch "MsoExample"
Why does it return .T. ?
Regards,
Koen