Hi Kerry & TonyT,
tnx a lot for the support.
I have only asked how to, if you think it's insane, I'll drop my stupid solution trying to find out onother way to automate my process.
THANKS again for you time!!!
sincerely
/r
If you take the time to become familiar with serialization and the basic concepts behind it, then you might understand why it is a very bad idea to couple your persistent data to your class.
What happens if you need to add/remove/change a member of the class? In that case, reading your existing data will fail because the order of the fields may no longer correspond to the order of the values in the persisted data.
You are making a mistake by using this scheme, and we are simply trying to show you why.
Labeling that as 'stupid' or 'insane' was your idea.