Here is a simple mutex that I coded pretty self explanatory
Declare:
Sub:
How to Use:
Declare:
Code
Private check As MutexSub:
Code
Private Sub checkifopen(ByVal mute As String)
Try
System.Threading.Mutex.OpenExisting(mute)
Me.Close()
Catch ex As Exception
check = New System.Threading.Mutex(False, mute)
Exit Sub
End Try
End SubHow to Use:
Code
checkifopen("Mutex Here")
