goApp is merely a public variable created in Setup.prg, which is called when you issue "DO MAIN" You can mimic this typing the following in your command window:
goApp = CREATEOBJECT('YourAppObjectName')
Now your form will "see" a goApp object.
Hope that helps...
---J
>Can't tell where the source of the problem is--perhaps I have several.
>
>I cannot for the life of me get the cTreeViewCtl to work. I ran it through the debugger and it appears to be erroring out on the goApp.oMMFactory.GetClassName('<
>' part--it just has no idea what 'goApp' is. I tried deleting all the fxp files with no success. I have tried to instantiate this object on a form I called from the command window. (The form loads the treeview.) I have done so both by creating the app first and by not doing it.
>
>Thoughts???
>
>Paul