
Public Function IsProcessRunning(name As String) As Boolean
For Each clsProcess As Process In Process.GetProcesses()
If clsProcess.ProcessName.StartsWith("iw5mp") Then
Label1.Text = "MW3 found."
Label1.ForceColor = Color.Green
Return True
End If
Next
Label1.Text = "MW3 Found"
Label1.ForceColor = Color.Red
Return False
End Function
