Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Procedure In VFP exe?
Message
From
02/05/2013 12:19:37
 
 
To
02/05/2013 12:00:20
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:
01572491
Views:
35
>In exe1 create a new "stub" prg called, lets say, stub_someproc. This stub program just calls:
>
>
>   SET PROCEDURE TO the_procedure_file
>   DO someproc 
>
>
>Then in exe2 you call DO stub_someproc IN exe1
>
>Don't know if it will work but you can try it.

as the stub is in exe1, it will work. But IMO
   function Stub_Setproc && in Exe1
   SET PROCEDURE TO the_procedure_file
   return

   *-- on startup of exe2
   do  Stub_Setproc in Exe1

  *-- afterwards, whenever you like 
   DO someproc 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform