I have an ini file that is set up something like this:
[receiver1]
1="11:00:00PM","11:30:00PM","WUSA","ftp.location","K:\cc\filename.txt"
There are many keys in many sections in the ini file.
I want people to be able to access and edit the information in the ini file (which is stored on a company LAN).
I can access it by LoadFromFile into a ListBox or Memo but there are only certain strings that I want displayed in the ListBox or Memo and then when they are edited, I want them to be saved back to their original location and overwrite anything older.
For instance, taking the example above....if someone wanted to change the first time from "11:00:00pm" to "11:01:00PM". I can do that by displaying the entire value of the key and then having the person edit the line and then save it back to the file but the line (comma delimited) isn't very user friendly in look and feel and someone is going to mess it up.
I'd like to display the individual strings of the ini Value in a better way and then have the person edit them and save them back to the ini file in the first format (one long string).
Any ideas.
Thanks.
Mindy
[receiver1]
1="11:00:00PM","11:30:00PM","WUSA","ftp.location","K:\cc\filename.txt"
There are many keys in many sections in the ini file.
I want people to be able to access and edit the information in the ini file (which is stored on a company LAN).
I can access it by LoadFromFile into a ListBox or Memo but there are only certain strings that I want displayed in the ListBox or Memo and then when they are edited, I want them to be saved back to their original location and overwrite anything older.
For instance, taking the example above....if someone wanted to change the first time from "11:00:00pm" to "11:01:00PM". I can do that by displaying the entire value of the key and then having the person edit the line and then save it back to the file but the line (comma delimited) isn't very user friendly in look and feel and someone is going to mess it up.
I'd like to display the individual strings of the ini Value in a better way and then have the person edit them and save them back to the ini file in the first format (one long string).
Any ideas.
Thanks.
Mindy