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 05:13:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/1998 04:39:29
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00119608
Message ID:
00119612
Views:
13
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform