WELLCOME

Visual Basic is a very easy and powerful programming language, a very simple coding of the software can be created with Visual Basic. I have my Blogger (http://www.vbcodebd.blogspot.com) in Visual basic 6.0 via kinds Program will discuss the code. Thanks All ..........

Tuesday, February 19, 2013

Shutdownwindows programing code vb6 (Visual Basic Tutorial - 18)



Create a form with    1 command button.


Command buttons properties…………..
Command buttons 1 - Caption: Shutdownwindows


Add the following code to the form code module for the Formr1 _Click event:


Program code:

Private Sub Command1_Click()
CreateObject("Shell.Application").shutdownwindows
End Sub
…………………………………..

No comments:

Post a Comment