Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Definition is not found
Message
De
06/01/2012 16:58:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Class Definition is not found
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01532347
Message ID:
01532347
Vues:
251
I have a Class Library common_libs.vcx

Looking at it in the Class Browser there is a class cntPartno

within cntPartno are several subclasses (cntAvl, cntExcess, cntMRB, etc.)

I want to create a new subclass cntDMR which will be a duplicate of cntMRB.

I Created a new ClassLib (clsTemp.vcx)

I opened two instances of the class browser. In the first one I opened common_libs. In the second I opened clsTemp.

In the first class browser I clicked on cntMRB. I then CTRL-Clicked on the icon just to the left of the drop-down at the top of the screen and dragged it into the second class browser. I now have cntMRB showing in both class browsers.

I renamed the class in the second browser and CTRL-Click dragged it back to the first. The renamed class shows up in the first browser where I expect (underneath cntPartno)

I then modified cntMRB by putting a MESSAGEBOX statement so that I could tell I was working with the correct library.

Everything works fine in my test environment within VFP.

However, when I compile the APP file and install it into my production environment I get a "Class Definition cntDMR is not found" message. Invoking cntMRB shows the new MESSAGEBOX.

Have I done anything wrong in the way I created this new class?

Any suggestions on how to fix this will be greatly appreciated.

Thanks to all.........Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform