06-29-2011, 09:40 AM
1. Make a new application.
2. Double click anywhere on your program so you get to the code.
3. Now there should be a drop down menu in the top right corner, select "Key_Down" from that menu.
4. Now place this code there:
You can change "Button1" to whatever your button is named as.
Enjoy
2. Double click anywhere on your program so you get to the code.
3. Now there should be a drop down menu in the top right corner, select "Key_Down" from that menu.
4. Now place this code there:
Code:
If e.Keys = KeyCode.Enter Then
Button1.Perform_Click
End if
You can change "Button1" to whatever your button is named as.
Enjoy