I need to know if another program is running so that my vb6 program will not attempt to shell to the program if it is already running. The other program has code to prevent two instances from running at the same time. If my program just attempts to shell to the other program and it is already running it (the other program)will give error message and terminate.
A code snippet or maybe a link to code example would really help. I have googled this but no results that give code example.
Thanks here for any help.