Advertisement
6_2008-2009 Coding Standards #214538

Kill process as easy as 1-2-3

Killing a process/program as easy as 1-2-3. No API, just as little piece of code. Just sharing. Enjoy!!

AI

Resumo por IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fonte
original-source
Dim Process
For Each Process In GetObject("winmgmts:"). _
   ExecQuery("select name from Win32_Process where name='notepad.exe'")
  
  Process.Terminate (0)
Next
Comentários originais (3)
Recuperado do Wayback Machine