>Is there a way to close a system level window from within VFP7 using Windows2000? In Windows19XX, you were able to close a window after execution,
>but that checkbox in the Properties is gone in Windows2000.
>
>Specifically, I want to start my VFP7 application from a batch file and then
>close the minimized batch file window from within my application. Otherwise, the window hangs around until the application closes.
>
This should not be a problem; unless you're using something to run VFP synchronously, like START /WAIT or invoking Wscript.Shell's Run method with the option to wait until the app completes, simply add the line
EXIT
immediately after the line that invokes the VFP WinApp, and the batch file should close.