How to assign numbers in key board to corresponding buttons in the calculator?
U Can write the code on keypress event of button.First u have to get the Ascii value of keys of keyboard.then write the code
if asc(e.keypress)=13 then
here 13 is value for Enter.
Hope it wil help u
All the best
normally i use keydown
Private Sub btnPost_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles btnPost.KeyDown
Select case e.keyCode
lblKey.text = "U"
Hope this is useful for you
How to get ascii values for all keys in keyboard??