Do Not Sell My Personal Information Jump to content


Visual Basic Programmers


GlynnB
 Share

Recommended Posts

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:

Link to comment
Share on other sites


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.

Link to comment
Share on other sites



Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...




Forums


News


Membership