sohoportal
New member
Hello,
I'm new to VB.NET and on a steep learning curve. I've created a char array and I'm trying to figure out how to disassemble the string, convert the individual chracters to ASCII, then re-arrange the string.
Here's what I have so far. Any help would be appreciated.
Private Sub btnEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEncrypt.Click
Dim aChar As Char()
aChar = txtbxUserString.Text.ToCharArray
Dim i As Int16
For i = 0 To aChar.GetUpperBound(0)
txtbxUserString.Text = (AscW(aChar(i)))
Next
End Sub
I'm new to VB.NET and on a steep learning curve. I've created a char array and I'm trying to figure out how to disassemble the string, convert the individual chracters to ASCII, then re-arrange the string.
Here's what I have so far. Any help would be appreciated.
Private Sub btnEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEncrypt.Click
Dim aChar As Char()
aChar = txtbxUserString.Text.ToCharArray
Dim i As Int16
For i = 0 To aChar.GetUpperBound(0)
txtbxUserString.Text = (AscW(aChar(i)))
Next
End Sub