NEW LIB - FindKillProcess()

Just starting out? Need help? Post your questions and find answers here.
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

NEW LIB - FindKillProcess()

Post by NoahPhense »

Download Here

Enjoy!

*EDIT*
It works on 2000 and XP, I would like to know if it works on NT and 9x.

- np
Last edited by NoahPhense on Sat Aug 07, 2004 1:03 am, edited 3 times in total.
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

Downloaded :P wow all in an exe file
Would you write some introductions, examples at here :wink:
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

Ok, unstall that one.. get the new one..

All the usage an stuff is in the help file..
someone wrote:FindKillProcess("processname")

Syntax

FindKillProcess("processname")
Description

Quite simple really. It finds and kills processes.

Parameters:
This command has one parameter. The parameter is the name of the process that you want to kill. You can also use a partial process name here.
Return Value:
This command returns 1 if it found and killed the active process. It returns 0 if it failed.



Example:

If FindKillProcess("notepad")
Debug "found and killed"
Else
Debug "not found"
EndIf

or

FindKillProcess("notepad")

or

FindKillProcess("notep")

or

FindKillProcess("tepad")

You get the idea.



Supported OS

Windows 2000 / XP
** I would like to know if it works on NT and 9x, so if you'd find out, let me know.
..and yes, it will kill multiple instances... so lets say you have 10
notepads open.. you only need to run the command once..


- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

cool lib.
just sad the installer dont find the PB directory by itself :)
but its working fine :D
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

I don't want it to find the PB directory. As I've stated before in another
thread. Some people have more than one PB directory. So stop being
jelous of my the installer.

- np
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: NEW LIB - KillFindProcess()

Post by NoahPhense »

All this chatter about finding and killing processes, and nobodys grabbing
this lib.. hmm..


PS - Anyone that hosts stuff for PB.. feel free to host this lib..

l8r

*bump*
Last edited by NoahPhense on Wed Aug 04, 2004 11:28 pm, edited 1 time in total.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

What happens if you run this?

Code: Select all

Repeat
    Result.l = FindKillProcess("explorer")
Until Result.l = 1
:lol: :lol: :lol:

PS!
Don't try the code above unless you know what you are doing.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
deadmoap
User
User
Posts: 79
Joined: Sun Feb 22, 2004 11:45 pm
Location: Riverdale, Utah
Contact:

Post by deadmoap »

This will work great for getting rid of all the spyware on my computer! Especially for the crap that my spyware removal programs don't take care of. I never want iexplorer.exe running. Now I can kill it before it even starts!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

@geo
I have a better one for you.. try this one.

Code: Select all

Repeat
  FindKillProcess("e")
ForEver
:twisted:

disclaimer: I am not responsible for the above code!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

deadmoap wrote:This will work great for getting rid of all the spyware on my computer! Especially for the crap that my spyware removal programs don't take care of. I never want iexplorer.exe running. Now I can kill it before it even starts!
@deadmoap
You will never aquire spyware on your system unless you install rouge
applications. Especially those little activex ones you see at some site
that say, "In order to download this file, you need to say yes to the next
prompt." .. That's where the sh!t hits the fan.

- np
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Re: ..

Post by GeoTrail »

NoahPhense wrote:@geo
I have a better one for you.. try this one.

Code: Select all

Repeat
  FindKillProcess("e")
ForEver
:twisted:

disclaimer: I am not responsible for the above code!
Nice, coult run through the whole alphabet too ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: ..

Post by NoahPhense »

GeoTrail wrote:Nice, coult run through the whole alphabet too ;)
Nah, then you run the risk of killing your own app... lol
deadmoap
User
User
Posts: 79
Joined: Sun Feb 22, 2004 11:45 pm
Location: Riverdale, Utah
Contact:

Post by deadmoap »

NoahPhense wrote:
deadmoap wrote:This will work great for getting rid of all the spyware on my computer! Especially for the crap that my spyware removal programs don't take care of. I never want iexplorer.exe running. Now I can kill it before it even starts!
@deadmoap
You will never aquire spyware on your system unless you install rouge
applications. Especially those little activex ones you see at some site
that say, "In order to download this file, you need to say yes to the next
prompt." .. That's where the sh!t hits the fan.

- np
Ah, let me fill you in on the whole bit. Firstly, I am a smart computer user. I have all ActiveX and other internet security options at the max. I also have McAffee. And I never go to "bad" sites. But you see... I have to share this computer with my dad... who is a horny 35 year old man that looks at PORN all day on google. :x
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

deadmoap wrote:Ah, let me fill you in on the whole bit. Firstly, I am a smart computer user. I have all ActiveX and other internet security options at the max. I also have McAffee. And I never go to "bad" sites. But you see... I have to share this computer with my dad... who is a horny 35 year old man that looks at PORN all day on google. :x
Ahh.. better get yourself a box of wipies for the keyboard then.. :D
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

deadmoap wrote:But you see... I have to share this computer with my dad... who is a horny 35 year old man that looks at PORN all day on google. :x
Son, is that you? :lol: :lol:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply