Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

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.
dim p as new ProcessMBS
p.GetfirstProcess ' get first
if p.name = "TextEdit" then
call p.KillProcess
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

MBS Xojo Plugins