Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE INTEGER TerminateProcess IN kernel32;
INTEGER nHandle,;
INTEGER nExitCode
TerminateProcess(<put process handle here>, 0)
[COLOR=blue]oManager = GETOBJECT([winmgmts:])
cQuery = [select * from win32_process where name='process2kill.exe']
oResult = oManager.ExecQuery(cQuery)
FOR EACH oProcess IN oResult
[tab]oProcess.Terminate(0)
NEXT
oManager = .NULL.
oResult = .NULL[/color]
Sorry - can't help you there.I want to kill a screen-saver at a special time
Local lcRemoteComputer, lcAdminUserName, lcAdminPassword, loSWbemLocator, loSWbemServices
lcAdminUserName=""
lcAdminPassword=""
lcRemoteComputer = "."
loSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
loSWbemServices = loSWbemLocator.ConnectServer(lcRemoteComputer, "root\cimv2",lcAdminUserName,lcAdminPassword)
lcolSWbemObjectSet = loSWbemServices.InstancesOf("Win32_Process")
FOR EACH loProcess In lcolSWbemObjectSet
IF TRANSFORM(loProcess.Name) = "blackshow.scr"
*Messagebox("Name: " + TRANSFORM(loProcess.Name)+CHR(13)+"Process ID: " +;
* TRANS(loProcess.ProcessID)+CHR(13)+"Prozess wird beendet.")
loProcess.Terminate(0)
ENDIF
NEXT