Advertisement
ASP_Volume3 Coding Standards #64205

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

สรุปโดย AI: 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.

ซอร์สโค้ด
original-source
Dim Process
For Each Process In GetObject("winmgmts:"). _
   ExecQuery("select name from Win32_Process where name='notepad.exe'")
  
  Process.Terminate (0)
Next
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine