Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
End Sub
Sub Button1_Click
c=""
name=StrToUpper(textbox1.Text)
For a = 0 To StrLength(name) -1
b=StrAt(name,a)
c=c & Asc(b)-64
Next
label1.Text=c
End Sub
Or you can use the ascii value of each alfanumeric chararcter...
This way you dont need to list all values prior to encode them...
In my password textbox, wich unfortunatly I don't have the cs file anymore, I used a very similar to taximania aproach..
declaring the alphabet backwards-....