Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Try
'Dim sr As New StreamReader("file.txt")
rtb_console.Text = File.ReadAllText("file.txt")
'rtb_console.AppendText(File.ReadAllText("file.txt"))
rtb_console.SelectionStart = rtb_console.TextLength
rtb_console.ScrollToCaret()
'rtb_console.Focus()
'rtb_console.Refresh()
Catch ex As Exception
End Try
' https://www.codeproject.com/Questions/430020/which-is-the-control-best-suited-for-displaying-th
End Sub
No hay comentarios.:
Publicar un comentario