can anyone help me pleaase when i click yes and no it ends the program can anyone help.

Code:
      MsgBox("Do you really want to abour the scan", MsgBoxStyle.YesNo, "Abort")
        If vbYes Then
            Application.Exit()
        Else
            Timer1.Enabled = True
        End If