shutdown the system

dear friends

how to shutdown the system which is in LAN using VB.

waiting for reply
vvally

Comments

  • : dear friends
    :
    : how to shutdown the system which is in LAN using VB.
    :
    : waiting for reply
    : vvally
    :
    :

    Have a look at the ExitWindowsEx API call.
  • : : dear friends
    : :
    : : how to shutdown the system which is in LAN using VB.
    : :
    : : waiting for reply
    : : vvally
    : :
    : :
    :
    : Have a look at the ExitWindowsEx API call.
    :

    Since a LAN was mentioned, I assume it's not the current machine so ExitWindowsEx won't work. Take a look at InitiateSystemShutdown instead. I think it takes a machine's name as an arguement so you can specify the system to shut down.
  • : : : dear friends
    : : :
    : : : how to shutdown the system which is in LAN using VB.
    : : :
    : : : waiting for reply
    : : : vvally
    : : :
    : : :
    : :
    : : Have a look at the ExitWindowsEx API call.
    : :
    :
    : Since a LAN was mentioned, I assume it's not the current machine so ExitWindowsEx won't work. Take a look at InitiateSystemShutdown instead. I think it takes a machine's name as an arguement so you can specify the system to shut down.
    :

    Ah...good point!

  • Hi. i just want to create a form with a button command1 and when i select it the windows is shuting down. how can i do that?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories