Ini File help

J

JB

Hi Folks,
Is it possible to have a subsection in an ini file?

e.g. [MainSection]
'values in here describing whatever
[SubSection 1]
'more values
[SubSection 2]
'more values again.

Cheers

J
 
B

Birgit

Hi J!
If you are picking up one value at a time you can use
system.privateprofilestring to write and pick up information from an
ini-file.

system.PrivateProfileString(FileName As String, Section As String, Key As
String)

Filename is the name of your ini-file
Section is the section names you are looking for
Key is the name of the value in the section

HTH,
Birgit
However this
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top