|
-
Feb 1st, 2006, 05:39 PM
#1
Thread Starter
Addicted Member
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
-
Feb 1st, 2006, 05:53 PM
#2
Re: word converter
txtlength, Len() function
txtascii, Asc() function
txtupper, UCase() function
txtlower, LCase() function
casey.
-
Feb 1st, 2006, 05:55 PM
#3
Thread Starter
Addicted Member
Re: word converter
and that will convert what ever i put into the "word" field? how wil it pick it up?
-
Feb 1st, 2006, 05:57 PM
#4
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.
-
Feb 1st, 2006, 05:58 PM
#5
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|