Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Shutdown System - Form1.frm

Form1.frm

Caricato da:
Scarica il programma completo

  1. Private Sub Command1_Click()
  2. Select Case Option1.CausesValidation And Option2.CausesValidation And Option3.CausesValidation
  3. Case Option1.Value = True And Option2.Value = False And Option3.Value = False
  4. Riavvia
  5. Case Option1.Value = False And Option2.Value = True And Option3.Value = False
  6. Spegni
  7. Case Option1.Value = False And Option2.Value = False And Option3.Value = True
  8. Disconnetti
  9. End Select
  10. End Sub
  11. Private Sub Riavvia()
  12. Shell ("shutdown -r -t 00")
  13. End Sub
  14. Private Sub Spegni()
  15. Shell ("shutdown -s -t 00")
  16. End Sub
  17. Private Sub Disconnetti()
  18. Shell ("shutdown -l -t 00")
  19. End Sub