Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a copy of the existing class
Message
De
10/03/2005 12:58:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00994181
Message ID:
00994521
Vues:
19
>Also could it be that we have too many libraries?
>
>I just tried in the Command Window:
>SET CLASSLIB TO c:\mmviscollect\libs\abatchprocessbiz.vcx
>MODIFY CLASS batch_processes OF c:\mmviscollect\libs\abatchprocessbiz.vcx && gave me the error when I tried builder
>o=CREATEOBJECT("batch_processes_env") && gave an error class definition is not found
>o=newOBJECT("batch_processes_env","c:\mmviscollect\libs\abatchprocessbiz.vcx") && worked
>o.release()
>
You need to Set Classlib To {classlib name} for CreateObject() to work. Framework probably does that for you. The only other CodeBook framework I used was FoxExpress, which gets all the vcxes and prgs from your project, and does a series of Set Classlib and Set Procedure. I assume MM does the same.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform