Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,862 members, 7,972,995 topics. Date: Saturday, 12 October 2024 at 03:30 AM |
Nairaland Forum / Science/Technology / Programming / Program To Logoff, Restart, Hibernate And Shutdown Your System (1415 Views)
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)
Program To Logoff, Restart, Hibernate And Shutdown Your System by Rialekingsley: 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: 3:58pm On Sep 03, 2015 |
Private Sub Command1_Click() If MsgBox("ARE YOU SURE YOU WANT TO SHUTDOWN SYSTEM?", vbYesNo + vbQuestion, "SHUTDOWN?" = vbYes Then Shell ("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 Then Shell ("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 Then Shell ("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 Then Shell ("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: 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 |
(1) (Reply)
LKG-FS200 Fingerprint Reader SDK / Any Programmer Tutor In Abakalikk, Ebonyi State / App User Mistook Python Programming Language For Pet Snake.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13 |