Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Run Prevention
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00515926
Message ID:
00516291
Views:
11
>>>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.

Nothing really. In fact, if I recall correctly, I said a the time that it maybe a better solution. However, having said that, I should point out that the solution I present is the one recommended in the Platform SDK. When all is said and done, I believe in following the guidelines expressed there.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform