Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a window
Message
De
17/02/2000 15:17:59
 
 
À
17/02/2000 08:40:39
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Divers
Thread ID:
00333092
Message ID:
00333654
Vues:
13
>>>How can I close an existing window that was open during startup using vbscript
>>>
>>
>>Depending on the application that opened the Window, using the Wscript.Shell's AppActivate and SendKeys, mechanism, or manipulation via the Shell.Application's Windows collection may both work.
>
>The window is a command prompt window (it's a batch file that is placed in the startup folder).
>

Add an Exit statement to the end of the batch file
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform