>You can call LaunchApp(), snag the handle from the class instance and adjust the priority, and then have your VFP app poll for termination using the CheckProcessExitCode() method until it completes. You can even let your VFP app run side-by-side as long as it doesn't depend on the other process completing before continuing - I sometimes use this trick to launch a VFP report as a background job by firing it up as a separate .EXE and adjust its priority, letting it rip along in the background while my main app does something else...
Ed,
Thanks, again, for your excellent advice.
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)