>This is the first time I've encountered this. First time that I have an ole control in my form. Could it be becoz of the ole? I have a treeview.
>
>Now, I'm really lost as to what properties I should set to .null. How can I trace this?
You cannot trace it as no error occurs and the problem is iside of VFP not your code. VFP cannot release the form because the form is holding a reference to another object. This is not involved with any controls on the form but rather anyplace you have done;
Thsiform.Someproperty = Createobject(...)
You must clear out those properties with;
thisform.someproperty = NULL
If you created the object in your code you must clear the object with your code.