Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logoff MyApp = logoff network, How ???
Message
De
25/10/1999 09:54:16
 
 
À
24/10/1999 22:22:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00279649
Message ID:
00280922
Vues:
12
>>>Hi
>>>
>>>My users all use the same login script ( NT 4.0 ) which installs updates if there are any...
>>>
>>>I want to force a network logoff when they exit the app to ensure that they re-run the login script before running the app again...
>>>
>>>Any way ???
>>
>>
>>Sure - use the ExitWindowsEx() API call to force Windows to log out and log back in.
>
>Would this be effectively the same as selecting "Logoff" from the Start menu?? Because, if it is, then it will not work. Selecting "Logoff" doesn't logoff if my app is running... Hmmm, do I need something in an ON SHUTDOWN clause?
>

You can add a flag value (EWX_FORCE) to the API call that will force all running apps to terminate.

>TIA
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
Répondre
Fil
Voir

Click here to load this message in the networking platform