This Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
My.Computer.FileSystem.CopyFile(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\.minecraft\logs\latest.log",
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\.minecraft\logs\latestc.log")
Using reader As New StreamReader(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\.minecraft\logs\latestc.log")
While Not reader.EndOfStream
Dim line As String = reader.ReadLine()
If line.Contains("Setting user: ") Then
Dim lastpart As String = line.Substring(line.LastIndexOf(": ") + 1)
FlatAlertBox3.Text = lastpart
Exit While
End If
End While
End Using
My.Computer.FileSystem.DeleteFile(
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\.minecraft\logs\latestc.log")
End Sub
I want to this name http://prntscr.com/omml8w in richtextbox1.text like up code , but its not work , its add only first name not all names ,i want all names add in richtextbox up code , how can i do this plzz help me ^_^