Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using multiple apps
Message
 
To
18/07/2002 13:33:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680073
Message ID:
00680314
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform