Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only open application once
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00585701
Message ID:
00585775
Views:
32
Hi Nadya,

The API you reference to only shows how to prevent second instance of the application from running. The "FirstInstance.prg" does the same in vary similar way. In addition it shows how to make already open application's window active.

>I personally prefer approach showed in API #12710 by Ed Rauh. It's very simple and reliable.
>
>>I'm using a code that is similar to this program. I think it was based on article written by George Tasker.
>>
>>>Hello Kevin
>>>
>>>I tried the "FirstInstance.prg" and it worked on my pc (had vfp installed) but not on any pc's without vfp full version install
>>>
>>>of course they had vfp runtime vfp6r.dll ect ....
>>>
>>>do me a favor and tell me if you get it to work.
>>>Thanks
>>>
>>>>Hi
>>>>
>>>>I need an app to only be run once at one time.
>>>>
>>>>What's the best way to detect if a VFP app is already running ?
>>>>
>>>>Thanks
>>>>Kev
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform