Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PcAnywhere and Visual Foxpro 6.0
Message
From
12/04/2000 09:44:43
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
 
To
12/04/2000 09:25:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00358626
Message ID:
00358636
Views:
12
>I wrote a script in pcAnywhere to remotely execute a foxpro exe on the host system. The problem is the program has to finish to then send remote files to the remote site and the pcAnywhere script will not stop
Running to wait for the foxpro exe to finish before sending the files back to the remote site.
>I have tried the runmodal.prg found in the download of universal thread. But pcAnywhere continues to Run.

Why not just have the VFP program send the files? If you absolutely must use the pcAnywhere script to launch the program, have the script start the exe then disconnect. Have the exe send the files using an FTP control.

If the app is using an FTP control, then you could have it check a corporate site for the existance of a file. If the file exists, run the program, otherwise idle until the next period. This way, you can have several remote offices launch the program without the pcAnywhere connection. (just create the trigger file in the directory, and every branch will run and transfer automatically)

BTW, is your pcAnywhere connection via dialup or over IP? I just assumed a dedicated IP connection because that's what we're using.
Previous
Reply
Map
View

Click here to load this message in the networking platform