Skip to content

Planet-Source-Code/uchiha-yueh-kill-process-as-easy-as-1-2-3__1-70261

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Kill process as easy as 1-2-3

Description

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

Just sharing.

Enjoy!!

More Info

Submitted On
By Uchiha Yueh
Level Beginner
User Rating 5.0 (40 globes from 8 users)
Compatibility VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages)
Category Coding Standards
World Visual Basic
Archive File

Source Code

Dim Process
For Each Process In GetObject("winmgmts:"). _
   ExecQuery("select name from Win32_Process where name='notepad.exe'")
  Process.Terminate (0)
Next

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published