program to show ascii code used?

defiance

Member
Joined
May 8, 2011
Messages
13
Programming Experience
Beginner
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
 
Sure, glad to help!
 
Josh...

would you happen to know some database programming using vb.net?
i am trying to learn sql database programming to input, delete, edit DB in sql
and stuff..

a guide or link to some helpful tutorials would be helpful too, thanz.
:)
 
Unfortunately no, I have not done much database programming. Try creating a new thread for this, there are many people on this forum that are experts at databases.

-Josh
 
Sure, glad to help!
 
Josh...

would you happen to know some database programming using vb.net?
i am trying to learn sql database programming to input, delete, edit DB in sql
and stuff..

a guide or link to some helpful tutorials would be helpful too, thanz.
:)

You have been asked once already: please keep each thread to a single topic and each topic to a single thread. If you have a question about database programming then ask it in a thread about database programming posted in the appropriate forum. If you have already asked a question in one thread, don't ask the same question in another thread, especially when that thread is on an unrelated topic.
 
Back
Top