Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPW & VFP in same app
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00340288
Message ID:
00341562
Views:
34
>>Just like you would at the run command line. Make sure to accept Params in your Main.prg or default file.
>
>Mike, I've tested calling a simple VFP exe from FPW and it works great.
>Just another few questions
>
>1. Is it possible to send parameters back to the originating FPW app ?
>2. Is there a way of telling if the VFP app is running, and if so some way of calling it from FPW.
>
>Basically, I will be using a small program to validate codes from a lookup table and to write a record. Loading the VFP exe each time (from my FPW app) will probably be too much of an overhead and take too long .
>I wonder can I somwhow , first check if the VFP exe is running, and if so send it my parameters ?
>
>regards,
>
>Gerard

Pass the info through a .DBF file that your VFP app is periodically checking for new records to process, by using a timer. You can put in this table anything you need from the FPW side. Just make sure you create this table using FPW, not VFP, or FPW will not be able to access it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform