Can anyone explain why my button keeps launching the associated .BAT file every time I click it, even though I have set it to disabled?
Private Sub TabPage3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage3.Click
Dim RetBat3
RetBat3 = Shell("c:\QUEEN ANNES REVENGE\SYSTEM\BAT\UNDO_1.bat", 1)
Button5.Enabled = False
End Sub