>Hi
>
>Though the above mentioned title is a very common issue but I am facing this problem at the time of shutting down the system. I check the same in Task Manager, but there is no foxpro loaded in Application.
>
>It happens when I run my application from (main.prg) in which master form is defined. Everything works fine and it quits well also. But on shutting down I encounter that problem. Please suggest me ...
>
>Thanks
>
>Saif
Put an ON SHUTDOWN Do CleanUp()
FUNCTION CleanUp()
IF want_to_exit
CLEAR EVENT
CLEAR ALL
RELEASE ALL
ON ERROR
ON SHUTDOWN
IF _vfp.StartMode == 0
RETURN TO Master
ELSE
QUIT
ENDIF
ENDIF
RETURN ""
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.