I tried the code you said you found it, and I kept getting spammed by message boxes cause it couldn't find the process, although it was running...
Hi.
How can i check if a process is running or not.
I want a code like this.
Found it:Code:if (explorer) is running then label1.text = "Running" else label1.text = "Not Running" end if
Code:If Process.GetProcessesByName("explorer").Length > 0 Then Else MsgBox("HA") End If
Last edited by Zoom; 10-17-2009 at 08:54 AM.
-Rest in peace leechers-
Your PM box is 100% full.
I tried the code you said you found it, and I kept getting spammed by message boxes cause it couldn't find the process, although it was running...
checks if process exist
i made a program with this code
*checks if process exist
*you can kill it :O
this is working ^^ tnx
My Youtube account : Maarten551, subscribe me ^^
[YOUTUBE]lSl0HlhGQsY[/YOUTUBE]
AIzombies for Alteriw, Check it now!
[YOUTUBE]U9OjBsHgcKQ[/YOUTUBE]
hover/cordinates mod with visible bunkers!!!
---------------------------------------------------
Most important waittills
You can also make it so you type something and it checks it
i used a label as an example because its not annoying
Button Click
Code:If Process.GetProcessesByName(TextBox1.Text).Length > 0 Then Label1.Text = "Running" Label1.ForeColor = Color.Green Else Label1.Text = "Not Running" Label1.ForeColor = Color.Red End If
[IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]