For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > October 2004 > Shut down Windows 2000 PC from within PB application









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Shut down Windows 2000 PC from within PB application
Faiz

2004-10-01, 8:59 am

We are working in Power Builder 7.03. We wish to shut down the
machine/PC from within our application as soon as it is terminated.

Is there any function in Power Builder Or we will have to resort to
ExitWindowsEx Api to shut down the machine. OS is Windows 2000 which
has some problems with ExitWindowsEx Api.

Any comments will be highly appreciated!

Regards,

Faiz
Philip Salgannik

2004-10-02, 3:56 am

ExitWindowsEx Api would be the ONLY way.

--
__
"Faiz" <its_faiz@hotmail.com> wrote in message
news:2d4fafba.0410010244.498a166@posting.google.com...
> We are working in Power Builder 7.03. We wish to shut down the
> machine/PC from within our application as soon as it is terminated.
>
> Is there any function in Power Builder Or we will have to resort to
> ExitWindowsEx Api to shut down the machine. OS is Windows 2000 which
> has some problems with ExitWindowsEx Api.
>
> Any comments will be highly appreciated!
>
> Regards,
>
> Faiz



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com