Results 1 to 8 of 8

Thread: [RESOLVED] Turn txt to CAPITAL letters

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2006
    Posts
    23

    Resolved [RESOLVED] Turn txt to CAPITAL letters

    Hello every1, i am having a small problem. I want to turn a piece of text thatthe user types in a textbox into capital letters. It does not have to be in real-time, i jus want it to be converted into all capitals once the user hits the submit key. Or if tats not possible, i don mind having a variable in my program tat takes the text and converts into capital. Plz advice wat wud b the easiest way and how. Thanks

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: Turn txt to CAPITAL letters

    In say a CommandButton Click():
    vb Code:
    1. Text1.Text = UCase(Text1.Text)

  3. #3
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Turn txt to CAPITAL letters

    Command1_Click() Code:
    1. Text1.Text = UCase(Text1.Text)
    Last edited by Paul M; May 11th, 2007 at 04:31 AM. Reason: code tags ;)

  4. #4
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: Turn txt to CAPITAL letters

    Too slow

  5. #5
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Turn txt to CAPITAL letters

    Yea, i have Dial-Up

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Aug 2006
    Posts
    23

    Re: [RESOLVED] Turn txt to CAPITAL letters

    thanks for the quick reply.. was a pretty simple solution.. its all bout knowing VB functions.. wonder when i'll b able to memorize all that i need to!!!.. thanks a lot

  7. #7
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: [RESOLVED] Turn txt to CAPITAL letters

    With time you will We are all still learning Well atleast i know i am

  8. #8
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: [RESOLVED] Turn txt to CAPITAL letters

    And.... when you have learned VB6, then it will be time to learn VB.Net((2005) -if not Orca)!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width