Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One Instance
Message
De
26/11/2004 03:43:40
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
25/11/2004 18:05:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00957965
Message ID:
00964858
Vues:
15
Hi Matthew,

Can i just check some details?

When you run the app if another instance of this app is running you want it to warn the user and shutdown?

The problem at the minute is that the instance check works great (as supplied by Marcia) but the default VFP window still fires. You can then minimise and maxisimise the window and finally it quits.

You could try setting _screen.minbutton = .F. and _screen.maxbutton = .F. in your start up program and adding an On Shutdown command.

So basically the user will either hit the messagebox button and be thrown out or hit the X button and be thrown out.

I hope this sort of covers what you need.

Jon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform