Help - Search - Members - Calendar
Full Version: Visual Basic Programmers
Lexus Owners Club > General Lexus Forums > Lexus Owners Club Lounge
GlynnB
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.

:yawn: :duh: :yawn:
DaveEllen
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
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
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
Glad to hear you are sorted.

I'd like to know the person who knows all of Excels secrets !


Full Colour Version: Visual Basic Programmers
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.