Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make sure only one executable is running.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146332
Message ID:
00151678
Views:
21
When your application starts try to open an DDE channel to your application. If you are able to open the channel the application is already running, if you are not able to open the connection then the application is not running and you need to start your DDE server. You can also add code to activate the first occurance of the application if you are able to open the channel. This means that when the user runs the application for the second time it will not run but the first occurance of the application will be activated.

HTH,
Shane

>How can I make sure that a program is not all ready running on startup?
Shane Murdoch
Previous
Reply
Map
View

Click here to load this message in the networking platform