I\'m trying to prevent the GUI from freezing, because of a low timer interval and too much to process in the Timer.Tick event handler. I\'ve been goo
Timer.Tick
Your listbox and richtextbox accesses must run on the UI thread. The easiest way to do it is like this.
Me.Invoke(Sub() ListBox1.Items.Clear() ListBox1.Items.AddRange(Split(clientdecode, vbLf)) RichTextBox1.SelectionStart() = RichTextBox1.TextLength RichTextBox1.ScrollToCaret() End Sub)