Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close a VFP6 applicaton?
Message
De
29/06/1999 16:35:22
 
 
À
29/06/1999 16:13:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00235479
Message ID:
00235499
Vues:
20
>Can anybody advise the best way of closing a VFP6 applicaton?
>I've been experimenting but get 'Fatal Error: Exception Code = C0000005' message before it exits.
>In my program (originally a 2.6a app I've converted to VFP6), the user selects Quit from the menu, this calls the Quit procedure in a .PRG which invokes a confirmation dialog box, then puts a datestamp against the user in the user table, then does:
>
>DO shut_dwn
>
>This calls shut_dwn.prg which contains these commands
>
>CLOSE DATA
>CLOSE ALL
>CLEAR ALL
>RELEASE ALL
>RELEASE WINDOW
>ON KEY
>ON ERROR
>ON SHUTDOWN
>SET SYSMENU TO DEFAULT
>SET HELP ON
>SET EXCL ON
>QUIT
>
>Your suggestions are most appreciated.

It's all right, except that you miss CLEAR EVENTS which is the main 'closure' command in VFP.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform