A friend of mine works for a school and he has asked me if i could make a program for him, he wants it to look at what programs are running and if it is one that he has selected as not allowed he wants my program to give a message and shut it down.
I have managed to code that part that looks for the program in the process list and then shuts it down with a message, that part was easy. The problem i have is how do i make my program sit in the background and only complain when their is a program that a student tries to start up which is not allowed? My program is not in focus or talked to by the other applications so how do i make it actively look?
The language i use is VB6 on XP Pro