>> Can anyone tell me the way to shut down window98 on quiting foxpro program? I am using Visual foxpro 6.0.
>
>Use
>
>RUN RUNDLL32.EXE user.exe,exitwindows
A better way is to use the ExitWindowsEx() API call; it's documented in the FAQ and the Windows API section.