Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Window outside VFP in Windows2000
Message
 
To
26/09/2002 13:12:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00704804
Message ID:
00704825
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform