I want to read it and put it into a listbox separating by the "," or just being a newline ect. So my listbox would look like this (doing both methods)
or just the newline method way
I know how to read files like so
Dim contents As String contents = My.Computer.FileSystem.ReadAllText("ReadIt.txt")
and know how to display its contents in a listbox and label like so
xReadingListBox.Items.Add(contents) xReadingLabel.Text = contents
what I would really like to kno is to read a text file in and separate by any 1 char being ("," or ":" or ect...) sending the text befor the char to 1 list box and sending the text after the char to another list box say you had names and numbers the first listbox would have all the names while the second listbox would have the numbers ect...
This post has been edited by XMEGA: 09 December 2008 - 10:12 PM