dear all, i am a beginner so please bear with my unfamiliarity with terms that you guys may used here..
but I am trying out VB.net and is trying to make a program to
show the ascii code for every key press I made..
here is the coding i used..
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As _ System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
TextBox2.Text = e.KeyValue
End Sub
this one seems to work fine, but I noticed that regardless of whether
I use "A" or "a", the ascii code shown is always 65.
last i checked small letters have their own ascii code, so "a"
should show a ascii of 97, not 65..
any help anyone can provide here will be appreciated..
thank you
but I am trying out VB.net and is trying to make a program to
show the ascii code for every key press I made..
here is the coding i used..
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As _ System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
TextBox2.Text = e.KeyValue
End Sub
this one seems to work fine, but I noticed that regardless of whether
I use "A" or "a", the ascii code shown is always 65.
last i checked small letters have their own ascii code, so "a"
should show a ascii of 97, not 65..
any help anyone can provide here will be appreciated..
thank you