1 Attachment(s)
What should i use to store data?
How should i store the data in this program?
I thought of a text file or registry but i dont know,
The program sets restrictions for users. It needs to save the value of the checkboxes someway, and then load it at log on so it will set the restrictions for that user.
i thought of storing the data to a text file in the users dir.
Thanks in advance,
Chris1990
Re: What should i use to store data?
In addition to the TextFile, or registry or ini file for that matter.
You want to consider XML.
The Registry will soon be a thing of the past - particularaly with new OS's,
and to dovetail into the .Net framework, it may worth wile using XML for forward comatability and knowledge. There are tons of example posted here if you want to review XML. ;)
Re: What should i use to store data?
Quote:
Originally Posted by Bruce Fox
...You want to consider XML...
I concur that but would also recommend to use database of any kind (perhaps MS Access).
Doesn't matter the size - it's the technic you'd learn that will matter.