>To all --
>
>Well ... the subject sort of explains itself.
>
>I'm in the process of rewriting a good sized FPDOS system into VFP. I'm taking a phased approach and the first phase is being able to run the reports to a lan laser printer. What I want to do is take my converted reports (in VFP) combine them with wrapper code and run them in a VFP .exe. This .exe would be called (via RUN ?) from the FPDOS program. Is this do-able and how? I tried just a Run with the program name (fully qualified) on my development machine. All I get is a command not found error message.
>
>When I try running the FPDOS program from VFP the screen blinks (when the DOS session starts) then it just goes away.
>
Firing a WinApp from a DOS session requires running a batch file, and using the START verb to launch your WinApp. Essentially, the batch file would read:
START /dC:\MyVFPAppDir /i /wait VfpApp.EXE
EXIT
/d specifies a starting directory; /i tells the new app to inherit the environment space, and /wait pauses batch file execution until the WinApp terminates. You can force the app to run minimized or maximized; see the Windows Help file. I'm not certain that /i is supported under Win9x.
>Is what I want to do possible?