I have a USB RFID scanner. While I have this form1 up, I want to send any keyboard input and put it in a textbox which is in another form(say form2). I tried using this code but to no avail. The first form is named "MainMenu".
Every time of a keypress, the the letter or digit input will go to another form. Is this even possible or am I just doing something wrong?
Private Sub MainMenu_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
Form2.Textbox1.text = e.KeyChar