Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class definition not found
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00218387
Message ID:
00218802
Views:
19
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform