GlynnB
February 17, 2004, 3:23 pm
Are there any visual basic programmers out there who can tell me how to convert lowercase characters input into a text box variant into uppercase. I've tried all the UPPER commands and just get errors.
Didn't have this trouble with the old fashioned basic.
DaveEllen
February 17, 2004, 3:25 pm
I'll have a go.
PM me your email address so if I fail I'll put you in contact with a man who can (gratis)
NickF
February 17, 2004, 3:41 pm
Use the UCase() function
for example, if you want to change the text in a textbox called Textbox1 to upper case, use:
Textbox1.Text=UCase(Textbox1.Text)
If you are using Visual Basic .NET, use Textbox1.Text = Textbox1.Text.ToUpper
Hope this helps.
GlynnB
February 18, 2004, 8:04 pm
Thanks - that works.
Have you considered technical writing for Microsoft?
I could't find that amongst all the megabytes supplied as part of the Visual Basic Learning Edition.
Or is it me?
DaveEllen
February 18, 2004, 8:13 pm
Glad to hear you are sorted.
I'd like to know the person who knows all of Excels secrets !