Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for a form or a class within an exe file
Message
From
21/07/1998 06:04:16
 
 
To
21/07/1998 05:13:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00119608
Message ID:
00119616
Views:
15
>>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

Cetin,
Do you mean that file("myform") will return .t. unless the file exists only within the exe?
Also, can i 'use' and 'select' the vcx as easy as he was a free file?
This would be a nive featuring.
Carlos.
Saludos,
A.G.P.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform