So I made a TextBox and I want to display a small test log in there.
I told my button to print a Test Text there whenever it gets pressed:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim Button1Click As Boolean
TextBox2.Text = Random()
Button1Click = True
If Button1Click Then
TextBox1.Text = ("Generated ID:" & Random())
TextBox1.Text = "LELELELELLE"
Button1Click = False
First make sure that
TextBox1.Multiline is true.
TestBox1.AppendText("Generated ID:" & Random() & Environment.NewLine)