Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a simple way to access registry values?
Message
 
To
03/06/2003 13:12:44
Chris Laffoon
Florists' Interlink, Inc.
Paragould, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00795792
Message ID:
00795798
Views:
11
>I would like to store some settings as registry values, but I have not done this using VFP before. I am running VFP 8.
>
>Thanks,
>Chris

You might want to look at the registry.vcx class in the FFC folder. It does have some limitations, however, like it can only read and write strings. It wouldn't be a terribly difficult task to re-write it to handle all types.

The Windows Script Host's WScript.Shell has methods to both read and write to the registry, and doesn't have the above limitation, but is difficult to trap for errors.

Finally, I believe that you can find other registry read/write tools here in the download section or at Rick Strahl's web site. Additionally, Marcia Akins, Andy Kramek and Rick Schummer included code to do this in "MegaFox" from Hentzenwerke's.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform