Login to participate
  
       
Register   Lost ID/password?
Louis Kessler’s Behold Blog » Blog Entry           prev Prev   Next next

Saturday, December 13, 2003 - Sat, 13 Dec 2003

No. My solution of Nov 28 of using saving default settings to a Behold file won’t work. It must go in the Registry. The reason is that different users on the same machine will not have their own default settings. The whole idea of the Registry was to allow this.

Putting this “back in” is not as bad as it sounds. Rather than having two separate INI file objects (one for the Behold file and one for the Registry), I should be able to use the same one and fool the system by changing the value of the UseRegistry property as I need to. Then I should be able to still use a Stream to hold the info by temporarily setting UseRegistry to False.

What is more difficult is that this has made it necessary to take a close look at all my File functions, for Opening and Loading and Saving both Behold and GEDCOM files. These procedures are inconsistent and need to be made reliable and to ensure that they correctly set up and use and save their Organize information either from or to Behold files or the Registry. This involves rigorously mapping what each function does and reorganizing the procedures to do them. I didn’t expect this, but it is better to do it now and to be confident that I know that these functions are working and can easily be maintained in the future.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
       
Register   Lost ID/password?