Eric,
Thanks for your reply. I should have stated earlier that VFP, after ignoring all the errors, does instantiate my class. It's the other classes that the business object loads that cannot be found, although I think by doing SetX the framework takes care of all the SET CLASSLIB/PROCEDURE for me. At least that's my understanding. Thanks --Tom
>>Hi,
>>
>>I've created a business object and am trying to instantiate it via the command window. I'm getting a "Class definition is not found." error. I've done the StartMM and SetX programs. It seems to be erroring in the cAbstractFactory.AbstractFactoryObj.SelectAlias() method. Any help would be greatly appreciated. Thanks --Tom
>
>If your object is defined in a vcx...
>
>SET CLASSLIB TO path/myvcx ADDITIVE
>oObject = createobject('mybizobject')
>
>If your object is defined in a prg...
>
>SET PROCEDURE TO path/myprg ADDITIVE
>oObject = createobject('mybizobject')