teixeira
Regular
Hi,
Please someone help me about Resources, Settings and XML.
The point is how should I read/write a configuration file quickly and easily?
I currrently used, DataSet.ReadXml(<path>) and i get/set the values i need, but this is not very heavy and memory consumer?
Settings files, are great, easy to use by name, etc... but i'm having serious problems in writting values there, i load my form, i read the values and when i close it, i wannted to save the current values to settings file, but the values aren't assumed correctly.
I saw a lot of examples using XMLReader and iterate through the nodes to get/set the values.
I hope someone can help me about good programming in read/write configuration files, for my exe, or for my dlls.
Thanks in advance,
Tiago Teixeira
Please someone help me about Resources, Settings and XML.
The point is how should I read/write a configuration file quickly and easily?
I currrently used, DataSet.ReadXml(<path>) and i get/set the values i need, but this is not very heavy and memory consumer?
Settings files, are great, easy to use by name, etc... but i'm having serious problems in writting values there, i load my form, i read the values and when i close it, i wannted to save the current values to settings file, but the values aren't assumed correctly.
I saw a lot of examples using XMLReader and iterate through the nodes to get/set the values.
I hope someone can help me about good programming in read/write configuration files, for my exe, or for my dlls.
Thanks in advance,
Tiago Teixeira