is there any way to detect the process was run?

sarmad

Active member
Joined
Jan 22, 2006
Messages
37
Programming Experience
1-3
hi

i have to wait for the some application to close...

and then my form will enable and user can work with it

so i have to detect that the process is run or not!

sorry for my lot of question.

thanks
 
hi

i find it and place it

mybe somebody need it!


Dim objProcess As New Process
Dim objProcesses() As Process
objProcesses = Process.GetProcesses
For Each objProcess In objProcesses
If (objProcess.ProcessName) = "name of process without.exe" Then
MsgBox("find ")
Exit For
End If
Next
 
Back
Top