Hello I'm trying to create a windows form that will have the user enter a 6-digit sales order into a textbox. Then, hit a "start" button and check to make sure that the user actually typed in 6 integers. Thank you!
Public Class Form1
Private Sub startButton_Click(sender As Object, e As EventArgs) Handles startButton.Click
Dim salesOrder As integer
salesOrder = txtboxSalesOrder.Text
If salesOrder 'Is a 6-digit integer
Then
'.....Do Something
Private Sub txtboxSalesOrder_TextChanged(sender As Object, e As EventArgs) Handles txtboxSalesOrder.TextChanged
End Sub
End Class