Results 1 to 5 of 5

Thread: word converter

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    201

    word converter

    I need to make a program that has to convert what you put into it into, 4 things, ASCII code, length/charactors in the code, Uppercase and Lowercase

    field names

    txtword
    txtlength
    txtascii
    txtupper
    txtlower

    anyidea on how this can be done? if you can give me some of the code it would be great, if not can you take me through it step by step as this will lead to coursework, but this is not coursework at the moment as im learning all the little bits to create something bigger, not been told yet

  2. #2
    Fanatic Member vbasicgirl's Avatar
    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    1,016

    Re: word converter

    txtlength, Len() function
    txtascii, Asc() function
    txtupper, UCase() function
    txtlower, LCase() function


    casey.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    201

    Re: word converter

    and that will convert what ever i put into the "word" field? how wil it pick it up?

  4. #4
    Fanatic Member vbasicgirl's Avatar
    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    1,016

    Re: word converter

    lets say in a button
    Code:
    txtlength.Text = Len(txtword.Text)
    you get the idea ?

    though the Asc() function will only do one character at a time so you will need a loop to pick up each character.

    casey.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    201

    Re: word converter

    i think, not sure if it will work, ill test it when i get vb working

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