Would it be possible to have the text entered in a text box on after update event force lowercase like
Code:
Me.History= StrConv(Me.History, 2) and some code to ignore the string between a set of characters
. And then somehow ignore anything in like brackets or parenthesis or anything that would keep it uppercase? this was something my son came up with in C# that I tried to convert to VB with no success.
Code:
Private Sub btnParse_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim parsedString As String
Dim pFlag As Boolean
Dim charIndex As char
For Each charIndex In History.Value
If (i = Microsoft.VisualBasic.ChrW(40)) Then
pFlag = True
End If
If (i = Microsoft.VisualBasic.ChrW(41)) Then
pFlag = False
End If
If Not pFlag Then
parsedString = (parsedString + char.ToLower(i))
Else
parsedString = (parsedString + i)
End If
Next
History.Value = parsedString
End Sub
I would appreciate any input into whether it would be possible or just not gonna happen?