>I have a vfp program in a windows 2003 server and some users run it from remote desktop connection.
>What i want is when the user terminates the program to logoff from w2003.
>I 've tried the function ExitWindowsEx , but it doesn't work.
http://www.windowsecurity.com/articles/Windows-Terminal-Services-Run-Single-Application.html
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up