Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force a logoff when exiting app?
Message
From
21/03/2000 15:01:30
 
 
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Miscellaneous
Thread ID:
00348471
Message ID:
00348551
Views:
23
>>Hi,
>>
>>I found the following code here on the UT:
>>
>>***************************
>>* force user to logoff of network
>>DECLARE INTEGER ExitWindowsEx IN Win32API INTEGER nFlags, INTEGER Reserved
>>DECLARE INTEGER ExitProcess IN Win32API INTEGER nExitCode
>>CLOSE ALL
>>FLUSH
>>=ExitWindowsEx(4,0)
>>=ExitProcess(0)
>>***************************
>>
>>Has anyone used this with VPM? Where would I put the code?
>>
>
>I have not used it with VPM, but it should be a direct substitution for QUIT.

Gotcha, thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform