Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Window outside VFP in Windows2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00704804
Message ID:
00704831
Views:
30
>>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.

Aw, that's too easy and obvious.< Wonders why he didn't think of it himself >< vbg >
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform