>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.
>
>Thanks,
Bill,
You mean the DOS Window right. Instead of a batch file (since this is Win2K we're talking about), why not use a VBScript file to run your application. Here's the necessary lines from one of my launcher programs
oShell = CreateObject("WScript.Shell")
oShell.Run(< application to run >)
No DOS window is ever shown.
George
Ubi caritas et amor, deus ibi est