computer






 

Question by  AimeyBakes (16)

How do you send keyboard characters to your application on VB.net?

I have looked for this information all over the boards and can not find detailed explanation of how to use the sendkeys on VB.net.

 
+7

Answer by  Taylor (863)

Type this into the applications sourcecode you can modify it to suite your needs: Private Sub InitialTest_KeyDown(ByVal sender As Object, ByVal e As System. Windows. Forms. KeyEventArgs) Handles Me. KeyDown 'Close the form when escape is pressed If e. KeyValue = Keys. Escape Then Me. Close() End If End Sub

 
+6

Answer by  seeyamd01 (67)

KeyUp, KeyDown, and KeyPress - look these commands up and you will see how they are connected to the keyboard actions for .

 
+2

Answer by  japratt (1687)

If you are wanting to send these types of characters into this program you will first need to save them. Then you should be able to input them in minutes.

 
You have 50 words left!