End All Instances of a Running Process

Category:
System/API
Type:
Snippets
Difficulty:
Advanced
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
This example takes a window caption as a parameter and ends all instances of any process in which a window contains any part of that caption. See comments for cautions in using this function.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: