Question Locked

How to get the content of a .ini file in to List box

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
Can enyone tell how the contents in a .ini file can be added to a list box as items??

Thnx in advnce

2 replies

by tony hopkinson

Multi line edit would be better for that, or perhaps a tree view.

What environment are you in? vb, .net, delphi ?

Normally there's an ini file class.
Usually they have method to list all the [sections] and then one to list all the values for a section.
So you get the sections, loop through them getting the values and then add them to the chosen control.

This discussion is closed to new replies.