Sign in to follow this  
Followers 0
metallica111

Help me

10 posts in this topic

Sorry because my poor English

I have a process Bkav2006.exe

How can i code a program to when process Bkav2006.exe run then my program kill this process

Run process Bkav2006.exe many times . My program always kill!

Share this post


Link to post
Share on other sites



Look at If...Then, ProcessExists(), And, ProcessClose()


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

How can i loop it many time

if I run many time process bkav.exe

i need kill it all timees

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

While 1
    ProcessClose("Bkav2006.exe")
    Sleep(50);Optional time to wait before closing the process again. If no sleep is added CPU usage is at it's maximum.
WEnd

I suggest that you simply prevent the executable from running, especially if this is some sort of virus or spyware thing.

Edited by Manadar

Share this post


Link to post
Share on other sites

Sorry to correct you but I see a likely error question coming up:

While 1
If ProcessExists("Bkav2006.exe") Then
    ProcessClose("Bkav2006.exe")
Else
    Sleep(100)
EndIf
WEnd

Share this post


Link to post
Share on other sites

Ah yes. Thanks :)


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Thhank you very much !!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0