Hello, I have tryed on a few other forums but just keep getting sent in circles so hopefully i will get it sorted here.
Right. problem one. I have a listview (lvpost) that has two colums, username & ID
Every time a user is added it saves this to a textfile which will look like this
Code:
user1:id
user2:id
user3:id
and so on. The problem is is now reloading this information into lvpost when the form is loaded. all i know is.
Code:
'Load user agent
Dim sTemp As String
sTemp = My.Computer.FileSystem.ReadAllText("C:\Uis\Agent.txt")
Which puts all the data into a string.
Problem 2
Now i have no idea what so ever how to split each line, user1 (split the : that seprates the two values) ID then add user to username in the list view and then add ID to the subindex of the listview.
then obviously loop threw all the entrys in the text file.
I have tryed looking for 3 days but cant solve this.
This is my last resort here :(