Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single instance app
Message
From
24/02/1999 21:48:42
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00190737
Message ID:
00191256
Views:
17
You may want to try the method (using DDE) that I have uploaded in the Files section. IMHO, this is the best method because the already running instance receives a message and it knows this way to show on top itself.

The simplest method is probably to try to open exclusively a dbf and catch the error (an error will be generated when the second instance tries to open the same dbf).

Vlad

>I remember using the foxtools library to ensure that only one instance of my app was running, but I seem to have misplaced that code :)
>
>Has anyone else used foxtools to accomplish this and could you post / email me a sample of your code?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform