Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the time when the application is closed
Message
De
07/03/2002 09:25:48
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00629389
Message ID:
00629529
Vues:
13
>Hi, Ravi!
>
>>>
>What is the best way of capturing the date and time separately each time an application is shut down
><<
>
>The best way is to create a little object at the beginning of your main program.
>Put the logging code into the Destroy Event of this object - this code fires always on shutting down the application.
>
>Untested sample code:
>
>*main proc
>LOCAL xo
>xo = CREATEOBJECT( "MyLoggingClass" )
>...
>
>READ EVENTS
>...
>
>
>
>DEFINE CLASS MyLoggingClass AS Custom
>
>PROCEDURE Destroy
>
>RETURN
>ENDPROC
>
>ENDDEF

Hi Sebastian: Thank you for your response. Will try it out.

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform