See HOWTO: Exit Windows from Visual FoxPro mskb#Q251310 and faq #8009 How can I shut down or reboot Windows for all versions? .
>I am developing a Touchscreen POS System . When I shut down the application, I would like to be abe to shut down windows as well (with a password to get back out to windows if you require it) > >Thanks > >Brian O Donovan