Stanley,
put below two lines into programs, do the program to shutdown the computer in your VFP application.
Chau, Moon
Declare integer ExitWindowsEx in user32 integer uFlags,integer dwReserved
lret = ExitWindowsEx(1+4,0) &&SHUTDOWN AND FORCE
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only