Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to know if VFP app is already running in Windows
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00360015
Message ID:
00360113
Views:
9
>I am runnning into a problem with some of my less experianced users on slower PCs. They tend to keep clicking on the icon causing my EXE to start more than once. Is there a Windows call or anything that I can use to detect if my exe is already running? I assume there is an api call that returns the currently running processes in windows. The same list you get when you press ctrl/alt/delete.

John,

I wrote an article for FoxPro Advisor (Nov., 1998) on creating single instance applications. It, and the necessary code, are available on-line at the Advisor site.
George

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

Click here to load this message in the networking platform