Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using multiple apps
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00680073
Message ID:
00680314
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Hi Jos,

You must use "proxy" program as main in APP.
* Call program in APP
DO MAIN IN part.app WITH "DO myProg","a","b",_Screen

* AppMain.PRG as Main in APP:
PROCEDURE Main(lcCode, par1,par2,par3,....)
if pcount()=1
   &lcCode.
else
   if pcount()=2
      &lcCode. WITH par1
   else
      if pcount()=3
         &lcCode. WITH par1,par2
      else
	   ...
      endif
endif
MartinJ

>Hi All
>
>I have a large project which would be nice to break into several parts. I understand that you can DO a program in another APP file but VFP7 apparently only searches the main program of that APP. How can I create several APP's that each contain related programs and forms and then call those programs and forms from another VFP7 exe? Or is there a better way to do this?
>
>TIA
>
>Jos
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform