I have formA.vb and I added some shortcut keys using the key_up event handler. Before coding the handler I change the keypreview property of the form to true. I added this code :

Code:

    Private Sub IntRMA_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
        If e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.C Then
            modcustomer.Show()
        ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.T Then
            Me.Button6.PerformClick()
        ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.I Then
            Me.Button5.PerformClick()
        ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.S Then
            Me.Button1.PerformClick()
        ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.P Then
            Me.Button9.PerformClick()
        ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.X Then
            Me.Close()
        ElseIf e.KeyCode = Keys.Escape Then
            Me.Close()
        End If
    End Sub
..... Only the last option of the Escape works. Thanks for the time and replies. Waiting for the sun between the rain