I use this:
Static PreviousLetter As Char
If PreviousLetter = " "c Or TextBox1.Text.Length = 0 Then
e.KeyChar = Char.ToUpper(e.KeyChar)
End If
PreviousLetter = e.KeyChar
But the result is always:
Good Night Every Body
How can I capitalize just the first letter in the sentence, leaving the other words normal? The result I want is:
Good night every body