Hi David,
I recompiled your utility in VFP 8, but I am not entirely sure I am using it correctly. I either cannot get it to find anything or it errors out. I made a copy of my form class and started manually removing objects and commenting out code to see if I could narrow down the culprit. After completely removing all elements from page 2 and commenting out all code that relates to page 2, the form still would not close. This seems fishy, especially since it worked during the development with the elements on page1. I am not doing anything very complicated, I don't think. The only thing out of the ordinary is that I have 2 business objects which change primary bizobj on different tabs. However I put a suspend in the form.release and watched some in the debugger to check these. After the cleanup the type goes from 'O' to Null, which I am assuming means that they are being destroyed correctly. The same is also true of the dbi-tech OCXs. With my limited knowledge I am running out of ideas.
TIA
Amanda
Amanda Morton
System Analyst
Harrisburg Project