This Should Give you the grand Idea how to make a On Screen Keyboard..Pretty easy achully once you got the codes right.
Code:
Private Sub AddButtontextToTextbox(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click
Me.TextBox1.Text = Me.TextBox1.Text & CType(sender, Button).Text
Me.TextBox1.Focus()
Me.TextBox1.SelectionStart = Me.TextBox1.Text.Length
End Sub
Above Code Explanation : The Above Code Focus's on textbox1 meaning everything you type will go in there. Now the other piece of the code reads the Name of the button and prints it to the textbox...textbox1 since its focusing on it. So if you name button1 "A" then when you click the button A will appear in textbox1.text.
Note : For every button you add that is meant to type to textbox1 you will add next to Button1.Click So adding button3 would look like.
Code:
Private Sub AddButtontextToTextbox(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click, Button3.Click
Me.TextBox1.Text = Me.TextBox1.Text & CType(sender, Button).Text
Me.TextBox1.Focus()
Me.TextBox1.SelectionStart = Me.TextBox1.Text.Length
End Sub