|
-
Aug 28th, 2007, 06:47 PM
#1
Thread Starter
New Member
Help: Convert entire string to its ascii values?
Hi i'm a completly new at VB programing have done some C# but no VB, what i was wondering is there a really simple way to convert a string of text that a user enters into a text box convert it into its ascii value and display it in another textbox?
I was hoping something like this would work
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
TextBox2.Text = Asc(TextBox1.Text)
But it only puts the first ascii value in TextBox2 and then can't do anymore.
Thanks for reading, also sorry if this is in the wrong section.
Cheers MonsterRock
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
|