>>Has anyone ever run across a way to determine if an application is already running and prevent it from being started a 2nd or 3rd or .... time. We have some users that forget that they have minimized an app and start it again...causes some interesting problems.
>>
>>Thanks,
>>
>Bill,
>
>I couple of years ago, I wrote an article on this for FoxPro Advisor. Check out
Create Single-Instance Applications in the November, 1998 issue. Unfortunately, it is no longer available on-line.
George,
What's wrong with Ed's approach (see API section CreateEvent)? Seems to work fine.
If it's not broken, fix it until it is.
My Blog