Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Procedure In VFP exe?
Message
From
02/05/2013 12:29:05
 
 
To
02/05/2013 12:24:07
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01572452
Message ID:
01572498
Views:
46
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
   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
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform