01-27-2015 04:52 AM
Hi,
I have problem to realize the second section.
The file is attachment in below
01-27-2015 05:40 AM
01-27-2015 05:45 AM
Tina,
you should also post the code you are currently working on.
I understand that the ini you posted was generated by yourself using a text editor like MS Notepad. Is that correct?
What i find rather odd on that ini file is the naming of the keys vs. what i think you expect as data in the application. I recommend you to rethink the names of the keys to be more generic as this will result in a better scalability.
Most important thing is that ini file doesn't support arrays as data type. So either you flatten the array to a single string or you have to split the array (as you do) into separate keys. Point is that in an 2D array, each element is defined by the row AND the column. So your keys should reflect the position in the array like R1C1, R2C1, ...
Norbert
01-27-2015 07:08 AM
Hi Norbert_B
yes, my text has Notepad proprity.
my problem was born for the second section where i should create the table with thier priority ( in .ini file) and design the table in word application, in the attachment you can see the code for the first section.
can you tell me which way is the best?
Best regards
01-27-2015 07:39 AM
I would just use the configuration file API. That way you know it is formatted correctly and it is easier to work with.