I am just wondering about how practical it is to use the registry to store settings.
I have several boolean values that are currently being stored in the regestry for my application and a seperate text file that stores up to 255 strings. i knew that big chunks of data (the strings) had no place in the registry but if i am going to be reading a text file at program load anyways, should i just throw my small settings into that file aswell?
what would be considered "good programming practice"?
also, is it snobby of me to put my program's textfile into the system 32 folder? my program would (under normal/most operating conditions) be located in the system 32 folder and if a user were to edit the accompanying textfile without knowledge of file syntax/format it would result in complete loss of data stored in it (saved strings and potentially the small program settings).
the data i am storing is not life or death if lost but i would prefur to not have to worry about it dissapearing on a user as that could result in great inconvenience, especially since they would not find out it was gone until the moment they needed it. can i change the readonly/locked property of a text file at run time?
thanks
I have several boolean values that are currently being stored in the regestry for my application and a seperate text file that stores up to 255 strings. i knew that big chunks of data (the strings) had no place in the registry but if i am going to be reading a text file at program load anyways, should i just throw my small settings into that file aswell?
what would be considered "good programming practice"?
also, is it snobby of me to put my program's textfile into the system 32 folder? my program would (under normal/most operating conditions) be located in the system 32 folder and if a user were to edit the accompanying textfile without knowledge of file syntax/format it would result in complete loss of data stored in it (saved strings and potentially the small program settings).
the data i am storing is not life or death if lost but i would prefur to not have to worry about it dissapearing on a user as that could result in great inconvenience, especially since they would not find out it was gone until the moment they needed it. can i change the readonly/locked property of a text file at run time?
thanks
Comment