Mike,
I concur with you that INI files are generally considered out-dated. However, if you search the Windows Systems Folder for *.ini you will see numerous ini files, and many of them are MS files.
I prefer the INI in most instances because:
1. Its usually it is not data that I want to hide from the user.
2. The user can easily modify it with a text editor. Yes, that is actually a benefit. For Example, I use an INI in my app if it references a foreign directory - one external from my app that I usually import from or export. If that directory changes, the user simply needs to go into the INI file and change it. It is easier and safer than updating the registry, and they will have rights to the INI file, and may not have update rights to the registry.
Of course, I could write a utility to handle this, but since it occurs infrequently, the client is usually better off (cost-wise) if I provide them documentation on how to use notepad to update it.
But, as I have said before. I can answer any computer question.
Which one is better?
It depends on what you are doing.
Best part - Like so many other things in VFP, it is nice to have a variety of ways to do something.
Jim Osieczonek
Delta Business Group, LLC