避免Visual Basic程序重复执行
Private Sub Form_Load() If App.PrevInstance Then '检视前一版本 MsgBox "此程式已经在执行中!", 48 End End If End Sub