Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List of Classes in a VCX at runtime
Message
De
19/09/2016 15:00:51
 
 
À
17/09/2016 14:39:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01641005
Message ID:
01641100
Vues:
71
>>Hi All,
>>
>>From a EXE or APP, I would like to get a list of the Classes in a VCX that is compiled into to the runtime. I do not wish to distribute the actual VCX file. But I can not access it as table when it is apart of the EXE/APP. Is there a build-in or third party function that makes it possible to get a list of classes?
>>
>>Thanks
>
>If the VCX is included, it can be USEd like any other table.
>
>
>SET DELETED ON
>USE LibraryName.vcx NOUPDATE
>SCAN FOR !EMPTY(Class) AND !EMPTY(ObjName)
>	? "Class:",ObjName
>ENDSCAN
>USE
>
Tried that. If the VCX is added as a Class Library it can not be added again as a table. The Class Library reference is not visible as a viable table inside the application.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform