>Can not clear the object SYSTRAY because it is in use.>The object "mySysTray" is defined as:
>define class mySysTray as systray of systray.vcx>>Try
>>RELEASE ALL EXTENDED>>instead. If you are using VFP 8 or 9, you could use TRY/CATCH instead:
>>TRY >> loSysTray = CREATEOBJECT("mySysTray") >> IF TYPE("loSysTray") == "O" >> READ EVENTS >> ENDIF >>CATCH TO loEx >> CreateErrorLog (loEx.Procedure, loEx.LineNo, loEx.Message, loEx.ErrorNo, loEx.Line, SYS (16)) >>ENDTRY >> >>RELEASE ALL EXTENDED >>CLEAR ALL >>CLEAR MEMORY >>CLEAR PROGRAM && CLEAR PROGRAMS FROM MEMORY >>CLOSE ALL >>CLEAR