Is it possible to control windows applications with applications created in visual basic?
You have to look at running processes. Then, when your time limit expires, terminate the proper process. VB can do this and I know there is some code that will do at least half of this for you. Even if it isn’t written in VB, mostly you just need the right system calls and you can sort out the rest. The ideal program would be a running process viewer with the ability to kill processes with source code that you could modify. Keep in mind that your program would have to run as an administrator (minimum) or system (most likely) program and that would require some registry editing to get it to load automatically with the proper permissions. The really big problem is it is nearly trivial to rename a program or even download and install an alternate browser. At a minimum, you’d need to know what all the browsers had for a process name and search for all of them. To beat the possible name changes, you’d also need to create a signature for each executable to check and see if any running proces