Please assist in Formatting the input text to upper and lower cases
e.g Start with a capital.
Thanks.
ericko10kip 0 Newbie Poster
Recommended Answers
Jump to Post>>e.g Start with a capital.
With TextBox1 .Text = StrConv(.Text, VbStrConv.ProperCase) End With
Jump to PostPlease try:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myVar As String myVar = Strings.StrConv(TextBox1.Text, VbStrConv.ProperCase) TextBox1.Text = myVar End Sub
All 8 Replies
adam_k 239 Master Poster
devnty06 0 Newbie Poster
khentz 0 Junior Poster in Training
codeorder 197 Nearly a Posting Virtuoso
ericko10kip 0 Newbie Poster
lolafuertes 145 Master Poster
Mitja Bonca 557 Nearly a Posting Maven
ericko10kip 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.