Bob,
You must be VFP6? I'll add ActiveProject to the list of ignored internal references.
Yes, It does a LIST MEMORY to look for public object memvars. I have to go that route because the _vfp.Objects collection is a bit flaky when sent to the amembers() function.
>>>This little exe will scan VFP looking for dangling object references and display a list of the ones it finds.
>>>
>>>
Click here to download OBJREF.ZIP>
>Dave,
>
>I get the following error when running it...
>
>OLE IDispatch exception code 0 from Visual FoxPro for Window: 1923 :Object ACTIVEPROJECT is not found...
>
>************
>I assume becuase I didn't have a project open. I opened a project, and it seemed to work.
>
>Does it scan through exisiting memory variables too?