Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read registry
Message
From
29/10/2010 01:18:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01487379
Message ID:
01487461
Views:
57
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform