I've experienced this problem when I have forgotten to clear object references. If you assign object references to a property of your application object and don't clear it by setting it to .NULL., VFP could hang trying to clear out the memory.
Just a thought.
>No, this won't help. Always when I step out of the program (with the debugger or by closing it) and go back to Visual FoxPro I cannot modify my classes, and when I type CLEAR ALL, FoxPro hangs and I have to end the task.
>
>Maybe anyone has another idea??
>
>>This is what I do - maybe it will help.
>>
>>When I launch the application, I assign the application object to a memvar.
>>
>>oApp = CREATEOBJECT("appname")
>>
>>When the user exits the program, I CLEAR EVENTS, then RELEASE ALL EXTENDED.
>>
>>This works for me.
>>
>>Dave
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao