Showing posts with label Visual Basic. Show all posts
Showing posts with label Visual Basic. Show all posts

Wednesday, 15 May 2013

Make Shutdown Manager In Microsoft Visual Basic With Video TRicks

I am share how to make Shutdown Manager Software.
1st Download Microsoft Visual Basic 2008 Express Edition

Open Microsoft Visual Basic. Click new project 
Make 3 Button

  

And click  1 Button then past code 


Shell("Shutdown -s")
Its make shuddown button 


And click  2 Button then past code 
Shell("Shutdown -r")
Its make restart button

And click  3 Button then past code 
Shell("Shutdown -l")
Its make Logoff button



Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Shell("Shutdown -s")
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Shell("Shutdown -r")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Shell("Shutdown -l")
    End Sub
End Class
Download This project 

Download

Download



Read more ...