Tags: process

Sort by: Date / Title /

  1. 11 years ago by obiwan
    Function KillProcess(strProcessName)
    	Dim oProcess
    	KillProcess = False
    	For Each oProcess in GetObject("winmgmts:").InstancesOf("Win32_Process")
    		If InStr(UCase(strProcessName), UCase(oProcess.Name)) <> 0 Then
    			oProcess.Terminate()
    			KillProcess = True
    			Exit Function
    		End If
    	Next
    End Function
    
    MsgBox KillProcess("Notepad.exe")
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/205"></script>

First / Previous / Next / Last / Page 1 of 1 (1 posteets)