Skip to content

Ozar.net Developer Blog

Programming in PHP, C, C#, ASP.NET, Java, Objective-C, SQL also for MS SQL Server, Oracle & MySQL Development

Menu
  • Home
  • About
  • Tutorials
  • Contact
  • Privacy
Menu

VB 6.0 Make a shutdown, restart, logout program

Posted on April 26, 2010April 26, 2010 by OD


A quick tutorial on how to make a program that can log you out, restart your computer and shut it down, you can use this as a system control thing, or you can make a prank out of this so that it will shut your friends computers down or whatever. Sorry that there is no sound, my mic broke ages ago and I’ve been meaning to get a new one. Remember this NEEDS Visual Basic 6.0 but I tried this on .NET and it worked also.

25 thoughts on “VB 6.0 Make a shutdown, restart, logout program”

  1. lilwarthog says:
    April 26, 2010 at 12:34 PM

    @eadddsds its ez. Ill tell you the code, just send me a message. . . its real ez

    Log in to Reply
  2. eadddsds says:
    April 26, 2010 at 12:53 PM

    Can you give us a link for the notepad that you are using. . . PLZZZZ!!!

    Log in to Reply
  3. Thebignoobshow says:
    April 26, 2010 at 12:59 PM

    A short reminder to all fellow programmers, the newer version of Visual Basic, the classname of the thing is not called frame anymore, instead, its called group box. Vote up so whoever watches this video will know the frame thing is wrong.

    Log in to Reply
  4. dandrew900 says:
    April 26, 2010 at 1:25 PM

    make a tutorial that the monitor will shut itself at any time, like the stand by.

    Log in to Reply
  5. refz1234 says:
    April 26, 2010 at 2:19 PM

    SO SIMPLE TO MAKE A NOTEPAD

    Log in to Reply
  6. TechDemon7 says:
    April 26, 2010 at 3:19 PM

    @Jerrzorsz I can tell u how to make such notepad, I can mail it if u gve ur id

    Log in to Reply
  7. brandon052695 says:
    April 26, 2010 at 3:30 PM

    run shutdown. exe

    Log in to Reply
  8. Albert9812 says:
    April 26, 2010 at 3:45 PM

    Bravo baiiii

    Log in to Reply
  9. yamakasi42100 says:
    April 26, 2010 at 3:57 PM

    whew

    Log in to Reply
  10. HowToProductions100 says:
    April 26, 2010 at 4:37 PM

    how to u make that zipikins note pad please message me back

    Log in to Reply
  11. Jerrzorsz says:
    April 26, 2010 at 5:32 PM

    Hii, Add me msn Zipstachsta. I need the codes from your own NotePad 🙂 :p

    Log in to Reply
  12. OnlyInNaziGermany says:
    April 26, 2010 at 6:21 PM

    Why it’s free?

    Log in to Reply
  13. CorYn00 says:
    April 26, 2010 at 6:32 PM

    ktybb

    Log in to Reply
  14. qayasameer says:
    April 26, 2010 at 6:43 PM

    Dude, these commands (shutdown -s/ -l/ -r), won’t work on operating system other than XP, so what about win98/ 2000 or any older then XP?

    Log in to Reply
  15. kolmats says:
    April 26, 2010 at 7:09 PM

    For those of you with VB 2008 a “frame” is the same as a “Group Box”

    Log in to Reply
  16. HarryG321 says:
    April 26, 2010 at 7:19 PM

    VB 2008 is free. Just install it and then go to help> register

    Log in to Reply
  17. JFTMTutorials says:
    April 26, 2010 at 8:02 PM

    download vb 2008 and crack it

    Log in to Reply
  18. dragonaizer says:
    April 26, 2010 at 8:21 PM

    @thatstek this dont work ((Your text size box name). FontSize = (Your Font size text box). Text) iin visual 2010 can you help me. . ???plz

    Log in to Reply
  19. thatstek says:
    April 26, 2010 at 9:11 PM

    Frames are pointless if you ask me >. >

    Log in to Reply
  20. thatstek says:
    April 26, 2010 at 9:17 PM

    This is VB6 stupid.

    Log in to Reply
  21. thatstek says:
    April 26, 2010 at 10:06 PM

    You need : 1 Frame, 1 Label, 2 Text boxes and 2 Command ButtonsCode:——————————-Private Sub (your form name)(Your text size box name). FontSize = (Your Font size text box). TextEnd SubPrivate Sub (your clear button name)(the name of your text box). Text = “”End SubPrivate Sub (Your exit button name)EndEnd Sub*Notes*Replace the words in brackets with the name of your object. Eg. Command1I will assume you know your way around VB. PM if you need more help.

    Log in to Reply
  22. pokemonfan904 says:
    April 26, 2010 at 10:21 PM

    hey can u tell me how you made that notpad

    Log in to Reply
  23. imbehindyourcomputer says:
    April 26, 2010 at 11:12 PM

    i cant i click on the program and it opens the cmd

    Log in to Reply
  24. byunderlord says:
    April 27, 2010 at 12:09 AM

    How did you do notebook

    Log in to Reply
  25. BritishTwits says:
    April 27, 2010 at 12:14 AM

    oh shows how much i know

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • NSTableView with Core Data Tutorial using NSFetchedResultsController
  • CodeIgniter Wizard – a new PHP CRUD Code Generator for macOS
  • Installing Oracle Database 10g Express Edition and Changing the Default HTTP Port
  • Xcode Tutorial 2 – Putting iAd into your App (The Apple Approved Way)
  • Cocoa Programming: A Quick-Start Guide for Developers

Blogroll

  • All Systems GO
  • GOZmosis
  • Maclord's Blog
  • Ozar.net

Tags

.NET 2008 application ASP.NET basic Beginning best books business Business Objects C# Database Databases Development Edition Guide iPhone Java Java EE learn Learning Microsoft MS SQL Server MySQL Objective-C Programming objects Oracle Part PHP PL/SQL Professional Programming Server Software SQL T-SQL TSQL Tutorial Tutorials Using Video Visual Visual Basic .NET Web Programming Tutorials XCode
© 2026 Ozar.net Developer Blog | Powered by Minimalist Blog WordPress Theme

Powered by
►
Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
►
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
►
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
►
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
►
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None
Powered by