If TextBox1.TextLength < TextBox1.MaxLength Then TextBox1.Text = TextBox1.Text + i do not know what to write here :D End If
Sub TestIt(ByRef TB As TextBox)
For i = TB.Text.Length To TB.MaxLength - 1
TB.Text += "0"
Next
End Sub
Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
TestIt(TextBox1)
End Sub
If TextBox1.TextLength < TextBox1.MaxLength Then TextBox1.Text = TextBox1.PadRight(TextBox1.MaxLength, "0") End If


