Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logoff MyApp = logoff network, How ???
Message
From
22/10/1999 01:29:11
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00279649
Message ID:
00279788
Views:
10
>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.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform