Fixed the when you press a dot it tabs I used
VB Code:
Private Sub txtIP_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtIP1.KeyPress, txtIP2.KeyPress, txtIP3.KeyPress, txtIP4.KeyPress
Dim txtBox As TextBox = DirectCast(sender, TextBox)
'ONLY ALLOW CONTROL CHARS (LIKE BACKSPACE) AND NUMBERS TO BE ENTERED
Select Case Char.GetUnicodeCategory(e.KeyChar)
Case Globalization.UnicodeCategory.Control, Globalization.UnicodeCategory.DecimalDigitNumber
Case Else
e.Handled = True
End Select
Debug.Print(e.KeyChar.ToString)
If e.KeyChar = "." Then
Me.SelectNextControl(txtBox, True, True, False, False)
End If
End Sub
Still not sure about the copy paste tho..