O
Opa Vito
Hello, I need to read data from a file the old fashioned way, more or
less like in the old days when ini files were used. But to be honest, I
can't find anything in the documentations (I'm not English, maybe I just
don't understand it).
Let's assume I have this in the file (called setup.txt):
[settings]
name1=Vito
name2=Doortje
txt1=married with children
txt2=and still happy
pic=both.jpg
My program must read this content and assign the data in the rigth hand
portion to a variable (declared public)with the name of the left hand
portion of each line, and above all the program must search ONLY in the
[settings] section ( there will be other additional sections in the future)
All tips very welcome, please understand I'm a newbie at programming in
VB and I'm not English ...
Many thanks
Vito
less like in the old days when ini files were used. But to be honest, I
can't find anything in the documentations (I'm not English, maybe I just
don't understand it).
Let's assume I have this in the file (called setup.txt):
[settings]
name1=Vito
name2=Doortje
txt1=married with children
txt2=and still happy
pic=both.jpg
My program must read this content and assign the data in the rigth hand
portion to a variable (declared public)with the name of the left hand
portion of each line, and above all the program must search ONLY in the
[settings] section ( there will be other additional sections in the future)
All tips very welcome, please understand I'm a newbie at programming in
VB and I'm not English ...
Many thanks
Vito