Hi, I'm not sure if I understood you correctly but if you are looking for an alternative to INI file approach then how about web.config files?
Why, Where, and How of .NET Configuration Files
Also just in case you are interested here is an example how you can convert that legacy INI into an XML:
Dim iniFile As New IniFile()
iniFile.Load("Sample.ini")
Using xmlFile = XmlWriter.Create("Sample.xml")
xmlFile.WriteStartDocument()
xmlFile.WriteStartElement("sections")
For Each iniSection In iniFile.Sections
xmlFile.WriteStartElement("section")
xmlFile.WriteAttributeString("name", iniSection.Name)
For Each iniKey In iniSection.Keys
xmlFile.WriteStartElement("key")
xmlFile.WriteAttributeString("name", iniKey.Name)
xmlFile.WriteString(iniKey.Value)
xmlFile.WriteEndElement()
Next
xmlFile.WriteEndElement()
Next
xmlFile.WriteEndDocument()
End Using
Above code uses an API from
my IniFile library for .NET.