Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Procedure In VFP exe?
Message
De
02/05/2013 12:56:38
 
 
À
02/05/2013 12:29:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01572452
Message ID:
01572505
Vues:
39
slight check included...

>Mike,
>
>Look, in exe2 you want to first load the procedure file that is in exe1 into the memory of exe2. That will then allow you to call any procedure it contains. So,
>
>In exe1 create a "stub" program that just has this code:
>
>
>   function Stub_Setproc && in Exe1
>   SET PROCEDURE TO the_procedure_file
     if ! upper(the_procedure_file) $ set("procedure")
         wait window "Procedure not set!"
     endif
>   return
>
>
>Now in exe2 you first call the above prg to load the procedure file
>
>
>   do  Stub_Setproc in Exe1
>
>
>and now you can call any contained procedure by calling
>
>
>   DO someproc   && without the "IN exe1" because the procedure file has been loaded in exe2 above
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform