I have a textbox on my form with code in the "keypress" event. In this code it says something like

VB Code:
  1. If KeyAscii = 13 Then

Well, how do I get the actual value that is stored in KeyAscii 13. I want to check each keypress to make sure the user typed in a numeric value.

Something like
VB Code:
  1. If IsNumeric(KeyAscii.Value) Then