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:25:34
 
 
To
19/09/2016 15:00:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01641005
Message ID:
01641104
Views:
83
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform