Remote Shutdown for LAN - Visual Basic 6.

View previous topic View next topic Go down

Remote Shutdown for LAN - Visual Basic 6.

Post  Anteos on Thu May 22, 2008 12:18 pm

Code:

Private Sub cmdShutdown_Click()
Shell "Shutdown -f -s -t 00 -m \\" & txtIP.Text
End Sub

Private Sub cmdRestart_Click()
Shell "Shutdown -f -r -t 00 -m \\" & txtIP.Text
End Sub

Private Sub txtIP_Change()
Text1.Text = ""
End Sub


HF.

-AnteosCreations

Anteos
AnteosCreation's Leader

Posts: 34
Join date: 2008-05-21
Age: 25
Location: USA

View user profile http://anteoscreations.forum-motion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum