Jane,
Are you doing a CreateObject()/NewObject() or DO FORM?
If it's the first you need a SET CLASSLIB before you can CreateObject().
If it's DO FORM you must have changed a classlib/class name somewhere along the line (and this can be for one of the contained controls too). If you are dynamically adding objects at runtime you need a SET CLASSLIB too.
>I've set a form as a template class. When I create a new form, that template is there. However, when I go to run the form I get an error message stating a class definition is not found. That class is in the library that is opened with the project. Why doesn't it find it?