Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Find Class Definition
Message
 
 
À
08/03/2001 13:09:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00483236
Message ID:
00483261
Vues:
8
Aaron,

If it's VFP6.0, you can use NewObject function, so you don't need to mess up with set classlib at all. Check NewObject function (and NewObject method) in the Help file. You may find them useful...

>When I try to create an object with the following code, the class definition cannot be found.
>
>*--Set the library and create the delete object
>SET CLASSLIB TO TrinAccountEvents IN trinity.app ADDITIVE
>loDelService = CREATEOBJECT("DeleteServiceEvent")
>
>I have ensured that my class is in the right library, and that the library is in the right app. Seems pretty cut and dried. What else could be going on here? Other libraries in the same app are used with no errors, but something is not right with this one.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform