Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow only one session of Application on PC
Message
De
14/06/2004 13:30:19
 
 
À
14/06/2004 13:25:53
Sammy Derban
Ghana Telecom
Accra, Ghana
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00913558
Message ID:
00913562
Vues:
12
A simple and quick way to do this is to use the WEXIST() function. So if the caption of your main window of your app is 'My App', you would do something similar to this in your startup program.
IF WEXIST('My App')
   QUIT && Quit the app, already running
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform