>Dumb question! How do you run an exe file from within a VFP7 program? The exe was not written in foxpro. It also requires parameters be passed to it.
>I tried
>
>run pbfe -ic:\file.in
>
>Thanks for your help.
Try run /n. Also, provide the full filename: pbfe.exe. I am not sure whether the path is needed.
Note: The EXE will run, but VFP will continue running as well. For more control, use WSH, or API_APPRUN (in the download section).
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)