Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ending a process
#2
To end process, use ShutDownProcess or ShutDownProcess2. For more info search the forum.

To work with services, use classes from Services type library. Examples are in Samples2 file which is in Installed Files subfolder. Import it. One of examples:

Code:
Copy      Help
Services.clsService se._create
BSTR s="System Restore Service"
se.DisplayName=s

sel(list("Start[]Stop" s))
,case 1 se.StartService
,case 2 se.StopService


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)