09-11-12, 09:04 PM
تفضل اخي الكريم
كود :
Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar <> ChrW(Keys.Back) Then
If Char.IsLetter(e.KeyChar) Then
Else
e.Handled = True
End If
End If
End Sub