I am trying to create an app that will perform actions on specific times (much like the Windows Task Scheduler). I am currently using Process.Start() to launch the file (or exe)
Two ways:
1-
Process customProc = Process.Start("ExecutablePath", "Argument(s)"); customProc.Kill()
2-
Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("ProcessName") For Each p As Process In pProcess p.Kill() Next