Program To Logoff, Restart, Hibernate And Shutdown Your System - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Program To Logoff, Restart, Hibernate And Shutdown Your System (1596 Views)
| Program To Logoff, Restart, Hibernate And Shutdown Your System by Rialekingsley(op): 9:43pm On Aug 26, 2015 |
download the .exe and its source code for free @ http://www.wapdynamo.com/details.php?tutid=24 |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by Nobody: 8:18am On Aug 28, 2015 |
Asking people to directly download malware? If I were mod, life ban, no story |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by KazukiIto(m): 4:23pm On Sep 01, 2015 |
Share the code nigga or f*** off. |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by Rialekingsley(op): 3:58pm On Sep 03, 2015 |
Private Sub Command1_Click() If MsgBox("ARE YOU SURE YOU WANT TO SHUTDOWN SYSTEM?", vbYesNo + vbQuestion, "SHUTDOWN?" = vbYes ThenShell ("shutdown -s" ![]() Else MsgBox "ALL IS WELL" End If End Sub Private Sub Command2_Click() If MsgBox("ARE YOU SURE YOU WANT TO RESTART SYSTEM?", vbYesNo + vbQuestion, "RESTART?" = vbYes ThenShell ("shutdown -r" ![]() Else MsgBox "ALL IS WELL" End If End Sub Private Sub Command3_Click() If MsgBox("ARE YOU SURE YOU WANT TO LOGOFF?", vbYesNo + vbQuestion, "LOGOFF?" = vbYes ThenShell ("shutdown -l" ![]() Else MsgBox "ALL IS WELL" End If End Sub Private Sub Command4_Click() If MsgBox("ARE YOU SURE YOU WANT TO HIBERNATE SYSTEM?", vbYesNo + vbQuestion, "HIBERNATE?" = vbYes ThenShell ("shutdown -h" ![]() Else MsgBox "ALL IS WELL" End If End Sub Private Sub Timer1_Timer() Label2.Caption = TimeValue(Now) Label3.Caption = DateValue(Now) End Sub |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by Rialekingsley(op): 4:01pm On Sep 03, 2015 |
the place of that icon is a closing bracket |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by Borwe: 5:30pm On Sep 03, 2015 |
Wow, didn't know people took batch programming language that seriously. Or is it not batch? |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by TechGuyTheNerd: 12:21am On Sep 13, 2015 |
Borwe:Nope, it is visual basic. He is just executing shell(cmd) commands from the application. A very simplistic approach. You could do same with a batch file. |
| Re: Program To Logoff, Restart, Hibernate And Shutdown Your System by prowlerovervoid: 2:14pm On Sep 21, 2015 |
Rialekingsley:nice code. Graphite also does the same thing and it's also free with gui. you can download it from here: http://www.bluecarbonite.com |
So I Asked Avast To Restart My PC In The Next Century • Java Program To Solve Quadratic Equation-dealwap • Q-basic Program To Compute Simple Interest. • 2 • 3 • 4
Dynamic Web Content Fully Explained • C++ Programming: To Do Or Not To Do. • I Need A Programmer To Tutor Me
= vbYes Then