Cableguy said:
Here's an aboandoned project of mine, but in wich, a full basical ini file reading/wtng is implemented...
Thx a lot..i will have a look into your code and see what's usuable for my project..!
specci48 said:
Before exiting the program I'll copy every data to be stored into the table. After that I'll just use SaveCSV to export the data
That's pretty nice and easy at the same time.I didn't take notice of the table.control because i didn't have a use for it.
Since cableguy recommended to use the table.control for prefs file manipulation, this little table thingy appears to be very useful.
The table.control solution is easy and done very quickly, but the resulting cfg file is not the style i was thinking of.
I wrote now a routine, which removes all spaces at the start and end of each line and returns config key and it's value.That's working with an existing file from the windows version of my application, and this was what i was looking for primarily.
Unfortunately now i've got some issues in saving the prefs file.I believed i could just replace a single line within the existing file, but that doesn't work that easy.I opened up a new thread for that, but answers to this were also welcomed here.
cheers
TWELVE