Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ini vs Registry
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00664057
Message ID:
00664126
Views:
24
>I'm wondering, what are the benfits of using the Registry (in wni95+ OSes) versus keeping our old INI files.
>
>I guess most importantly, do these benefits really warrent going back through all our code and convertnig from INI file dependency for initialization stuff to Registry dependence?


Matt:

It's a trade-off. INI allows users to modify it (it's just a text file). Registry may be the "approved" way but it is more cumbersome to access and maintain.

INI files, as opposed to Registry makes your app's uninstall maybe as easy as deleting a directory structure (not counting uninstalling VFP itself, of course).

One reason why MS went from INI to Registry is that INI is a flat file. Registry gives you a hierarchical (tree) structure. You can solve that problem without the registry by changing your INI to an XML file where you still have easily editable text files but with the hierarchical structure of XML.

Like I said, it's a trade-off.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform