Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close Window outside VFP in Windows2000
Message
 
À
26/09/2002 13:12:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00704804
Message ID:
00704825
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform