I am a newbie in vb.net and trying to read the ini file.
Now i have got a doubt about how to read the ini file, when there are multiple values for a single key in an ini file using vb.net.
A part of my ini file "win.ini" looks like the following:
and each value should do some operation like initialization, execution of some tool etc.. so i am supposed to store all the values in an array, and should use the values one after another.
Please help in reading this. attched is the example of my ini file.
now , when i recieve the section sec1 or say some other sec say sec3, i shd be able to read the values in that section, and..
1) the first key, i.e. Instructionname shd get its particular value and shd print it on a text box
2) meanwhile, i shd be able to read the multi lines values of the key "Actions" ,
and each value in key "Actions" , shd perform some operation, say initializing or executing some tool etc..
so, i shd be able to retrieve the each value and shd perform its respective operation.
can you help me in this..
I am not able to read the seccond key values i.e "Actions" key.
Thanks in advance
Number of downloads: 199
This post has been edited by anu86: 15 May 2008 - 09:01 PM