Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exiting visual foxpro
Message
De
23/02/2001 03:28:02
 
 
À
23/02/2001 02:52:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00478716
Message ID:
00478720
Vues:
20
>Hi ,how can i exit visulal foxPro when i use a custom application?
>when i click on the X appears the message

At a minimum, you need to issue a CLEAR EVENTS and tell VFP to quit when the SHUTDOWN event occurs. Add the following line to your main program:

ON SHUTDOWN DO AllDone

Create a .PRG named AllDone.PRG; it should look so,mething like:

* AllDone.PRG
CLEAR EVENTS
ON SHUTDOWN
CLOSE ALL
CLEAR ALL
QUIT
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform