End All Instances of a Running Process
Author:Intelligent Solutions Inc.
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.