if we are having data in atext box
let it is
harsh kumar aggarwal
then we have to print in three different text boxes as
Harsh
K.
Aggarwal
note that in every text box the text starts with a capital letter.
User Profile
Collapse
-
Private Sub TextBox1_KeyPre ss(ByVal sender As System.Object, ByVal e As System.Windows. Forms.KeyPressE ventArgs) Handles TextBox1.KeyPre ss
Dim num As Integer
num = Asc(e.KeyChar)
If num = 8 Or num = 32 Then
Exit Sub
End If
If (Not (num >=48 And num <= 57 )) Then
e.Handled = True
End If
End Sub
No activity results to display
Show More
Leave a comment: