>Hi All,
>
>Do any one know how we can use windows API functions like shutting down the computer or restarting it ??
>
>if so please send.
Look in the Windows API section here. There's details on how to do this (via ExitWindowsEx) as well as a number of other functions.
George
Ubi caritas et amor, deus ibi est