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:25:34
 
 
À
19/09/2016 15:00:51
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:
01641104
Vues:
84
>>>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.

Not so. You only have to run this code before set classlib to LibraryName.
----------------------------------
António Tavares Lopes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform