General information
Category:
Coding, syntax & commands
Title:
Detecting an existing instance of VFP app running
Somebody posted on Foxpro-L (a few months ago) a WinAPI method that does the following within a VFP app:
- When a VFP app loads, checks to see if an instance of VFP is already running the same app.
- If not, goes ahead and runs like the usual app is supposed to.
- If not, gives focus to (and if minimized, restores) the existing instance, then exits.
Can somebody repost that snippet, please? Seems like a great way to keep meathead users -- those who repeatedly forget that their app is already running -- from constantly re-instancing the application.
Thanks very much!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only