Hey I need to have an Exit button including keyboard shortcut Alt+X to go to Form 2. But this doesnt work. Any help?
Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (Chr(13) + Chr(88)) Then Me.Hide() Dim fr2 As New Form2 fr2.Show() End If End Sub





Reply With Quote