-
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
-
Re: word converter
txtlength, Len() function
txtascii, Asc() function
txtupper, UCase() function
txtlower, LCase() function
casey.
-
Re: word converter
and that will convert what ever i put into the "word" field? how wil it pick it up?
-
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.
-
Re: word converter
i think, not sure if it will work, ill test it when i get vb working