>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