Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching for a form or a class within an exe file
Message
De
21/07/1998 05:13:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/07/1998 04:39:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00119608
Message ID:
00119612
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform