Yes, that is the window title. Can you make it more unique? I did not have this problem as it was on the server where only this type of app (FoxPro server) would run. I just wanted to get rid of the dead instances, if any.
>Hi Nick,
>
>Without testing, is "lcApplicationTitle" the window's title? I've been using George T's "Is_Run32" and that is based on the window's title. Problem is if someone has an other file open with the same title in it. Even a WORD doc or .PDF. They get closed in stead of the .exe in question. It's very rare. less than 0.1% But when it happens they call my boss. Then he complains.
>
>TIA
>Mike
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison