Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Automatically convert all lowercase letters typed ...
Author:
Bijay Rai
E-mail:
Click to e-mail author
Website:
http://vbcodes.netfirms.com
Submitted:
2/26/2003
Version:
VB4
Compatibility:
VB4, VB5, VB6
Category:
Miscellaneous
Views:
9239
Automatically convert all lowercase letters typed into a textbox control into uppercase.
Declarations:
'none 'just place a textbox control on your form, and name it txtTest 'add the following code into its KeyPress event
Code:
Private Sub txtTest_KeyPress(KeyAscii As Integer) If KeyAscii >= 90 And KeyAscii <= 122 Then KeyAscii = KeyAscii - 32 Else KeyAscii = 0 End If End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement