Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Howto close Fox app when computer restarts???
Message
De
24/02/2008 16:06:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/02/2008 15:50:51
Chris Sund
Silhouette Solutions
Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01295943
Message ID:
01295945
Vues:
18
>All suggestions or advice is welcome,
>
>I have a systray app that runs all of the time. When the user restarts their computer I get a "Unable to Close Foxpro" message (paraphrased). Does anyone know how I can make this app close without any messages to the user?
>
>Thanks
>
>Chris

I suppose you get the same message when you press Alt-F4 when the application is active, or click on the "x" in the upper-right corner.

You should look at the ON SHUTDOWN command. This command should invoke whatever shutdown is required, which - I hope - you already have in some method or function.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform