Sub GetProcess()
localByName = Process.GetProcessesByName("WePlay")
If localByName.Count > 0 And localByName.Count < 2 Then
'Process is running
Else
'MsgBox("Test")
OpenApplication("WePlay")
'Process is not running
End If
End Sub
Public Sub OpenApplication(myApp As String)
If myApp = "WePlay" Then
Process.Start("WePlay.exe")
Process.Start(myApp)
End If
End Sub