Hi Bob,
>Remember, this form worked absolutely fine in VFP5.
That doesn't matter. *s* VFP 6 has a completely different mechanism to remove objects. Code that used to work in VFP 5 doesn't work in VFP 6 and even might cause a C0000005 exception.
>When I added an explicit removeobject for the timer, the form closed properly. If there were any outstanding references, this wouldn't have worked either.
Nope, RemoveObject() DOES remove objects with outstanding references. That's excatly the reason why I assumed you might have a dangling reference somewhere.
Christof
--
Christof