Sunday, June 7, 2015

VB6 : Already running?

Private Sub Form_Load()
    If App.PrevInstance Then
        MsgBox "Program telah dijalankan", vbExclamation, "Amaran"
        End
    End If
End Sub

No comments:

Post a Comment