I am currently trying to make a ListBox its values from a text file – values.txt
The values.txt file contains a different value on each line e.g.
Value1
Value 2
Value3
Value 4
How could I use the values in this text file to be used within the ListBox?
Well, first read the text using either StreamReader or File.ReadAllLines.
Then, add the data to your ListBox.
Example:
It should work.