Use the function and get any process is running or not.......
Public Function IsProcessRunning(ByVal name As String) As Boolean
For Each cls As Process In Process.GetProcesses()
If cls.ProcessName.StartsWith(name) Then
Return True
End If
Next
Return False
End Function
No comments:
Post a Comment
If the contents is insufficient or if there any error, please write here....
Suggestion are welcome: