OK, I think I get it now.
You need to call DeleteKeyValue(), passing these three parameters (in the order shown here):
1. The
name of the key value. That's the name you see in RegEdit, in the left-hand column in the right-hand pane.
2. The key path. That's the path to the folder, but
without the HKEY_CURRENT_USER or whatever (e.g. "\Software\Info-Sys Software inc.\Settings").
3. HKEY_CURRENT_USER or whatever,
as an integer. The integers are defined in REGISTRY.H. (Example: -2147483647).
Give that a try. It's been a while since I used the FFC class, and the above is from memory. If it's not right, you can always check the class's source code.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips, training, consultancy