Advertisement
4_2005-2006 Windows API Call/ Explanation #160955

VB code with Window Network API

With this code your can Shutdown any Workstation connected on LAN (Local Area Network) od Windows NT/2000. This code is very usefull for LAN applications. It will give an good idea to communicate with other worstations.

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Private Sub Command1_Click()
  Dim a
  a = InitiateSystemShutdown(Trim(Text1.Text), "Hello", 0, 0, 1)
  MsgBox "Shutdown Completed"
End Sub
Commenti originali (3)
Recuperato da Wayback Machine