This is the kind of information I like to store in the Windows registry.
Look in the the _registry.vcx library from the VFP foundation classes for a class to do this. There may be others in the Files or FAQs here on the UT.
Insanity: Doing the same thing over and over and expecting different results.