i have an *.ini config file for an 3rd party application, that has to be maintained whenever a Windows user login name changes - which happens after he or she switches the division within the department, gets married or divorced - or when he or she joins the or leaves the department.
With Sapien POSH Studio i’ve written a tool, that should be able to edit only the user section of this config file. So far i’m reading the section into a table and bind it to an editable gridview. I can change, add or remove lines.
I’ve thought a lot about changing single entries and so on, but thats to much fiddling because keys as well as values may change, be removed or added. Example:
Now, how do I replace an entire section within the config file with the content of the table?
Thanks in advance for any input