Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to kill a process by name?
Answer: You can kill a process (or application) by name if you loop over all the processes and kill the one you need.
Example:
dim p as new ProcessMBS
p.GetfirstProcess ' get first
do
if p.name = "TextEdit" then
call p.KillProcess
Return
end if
loop until not p.GetNextProcess
Notes: You may want to check the result of killProcess function. Not every user is allowed to kill every application.

Feedback, Comments & Corrections





Links
MBS Xojo Plugins