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:
00360056
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.

I use a function called ckrun() that someone posted here a few years ago. See Message #289917 for the source code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform