Left would not cause a reference error. You can use just EXEName if you like. The Left was for something else I was doing.

If you are using Vista, then it won't work I suspect. This site shows which ones it does work with. http://www.it-visions.de/Scripting/W...=Win32_Process

I wrote a VB.NET program that checks for a running EXE. If that interests you, I could point you to that EXE program. Otherwise, an all API solution would be needed. Since I don't have Vista, I can't test to see if that method would work for Vista.

You may not have Windows Scripting Host installed or it may be disabled by administrators. If you can install it, check out http://vbnet.mvps.org/index.html?cod...essmonitor.htm