AGETCLASS(aClassLib, LibraryNameFull, ClassName, 'Select Class', 'Class File:', 'Select')LibraryNameFull contains the full path to the Class Library. If the class library name in LibraryNameFull is the same as a library that is used in the app, vfp tries to find the class library in the same folder the app is in. The library isn't there so it errors.