When CREATEOBJECT( ), ADD OBJECT in DEFINE CLASS, or the AddObject method is issued, Visual FoxPro searches for the class definition defining the object specified in these commands in the following locations and order: 1. The Visual FoxPro base classes. 2. Class definitions in memory in the order they are loaded. 3. Class definitions in the current program. 4. Class definitions in the .vcx class libraries opened with SET CLASSLIB. 5. Class definitions in procedure files opened with SET PROCEDURE. 6. Class definitions in the Visual FoxPro program execution chain. 7. The OLE Registry if SET OLEOBJECT is set to ON. If the class definition containing the object cannot be located, Visual FoxPro generates an error message.TIA,