Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling procedures in an app w/ set procedure
Message
 
À
11/07/1997 10:31:21
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039433
Message ID:
00039454
Vues:
32
i'm using set procedure to myapp.app i didn't use additive but it's the only set procedure i'm using ( so i don't think that the additive would matter ). after the set procedure i try DO MyPrg and get the error that it can't find MyPrg.prg.
If, however, i execute Mainprg.prg ( the prg set as the main in the project the app was compiled from ) it executes fine.

In the past with fox2.5, we were able to write a library of prgs, compile into an app set procedure to that app, and then any prgs in that app are accessible. i'd like to do this same thing in vfp5.

i thought about just passing the main a parameter telling it what prg to run but this seems like a kludgy workaround.


>>i've created an app and want to be able to call the individual .prgs within it.
>>in fox2.5 this worked great, but when i try it now i can only call the app's main prg. otherwise i get an error.
>>any ideas.
>
>When you set your procedures for other prgs. Are you using SET PROCEDURE TO MyPrg.PRG ADDITIVE.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform