Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleMake a TextBox convert letters to upper case in VB.NET
DescriptionThis example shows how to make a TextBox convert letters to upper case in VB.NET by setting the control's CharacterCasing property.
KeywordsTextBox, lower case, VB.NET
CategoriesControls, VB.NET
 
When the form loads, it sets the TextBox's CharacterCasing property to Upper.
 
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
    e As System.EventArgs) Handles MyBase.Load
    ' Set the TextBox's character casing.
    TextBox2.CharacterCasing = CharacterCasing.Upper
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated