Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of Classes in a VCX at runtime
Message
From
19/09/2016 15:00:51
 
 
To
17/09/2016 14:39:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01641005
Message ID:
01641100
Views:
70
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform