>Hi all,
>Is there a way to know (in runtime) if a specific form is included in the exe file?
>And to know if a class exist in a vcx file?
>
>I would like to launch a form if exists and if not launch another form.
>I would like also issue a 'createobject' with a class name if it exists in a vcx file (Within the exe) and, if not, issue the createobject with another class name.
>
>Thanks in advance.
>Carlos.
Carlos,
If vcx and scx are contained in project (or any other file) it means that you can access it as if it resides on disk.
For checking form existence you could test :
if file("myform.scx")
And for classes in vcx :
select cnt(*) from myvcx.vcx ;
where Class == cMyClassName ;
into array laCount
Cetin