Catwidget4

Headlines News :
Home » » CREATE YOUR SIMPLE ADVANCED OPTION PROGRAM USING VISUAL BASIC 6.0

CREATE YOUR SIMPLE ADVANCED OPTION PROGRAM USING VISUAL BASIC 6.0

Written By WEBTECHJR on Sunday, July 4, 2010 | 3:14 AM




The advanced options such as system shutdown, system restart, notepad display and displaying the task manager can be activated and executed by using the command prompt of windows. These same commands can be used in Visual basic to create simple but powerful applications by starting with the keyword [SHELL] followed by the command in the double quotation marks for example the codes for the above application are..



Private Sub Command1_Click()
Shell ("taskmgr")
End Sub
Private Sub Command2_Click()
Shell ("shutdown/s")
End Sub
Private Sub Command3_Click()
Shell ("write")
End Sub
Private Sub Command4_Click()
Shell ("shutown/r")
End Sub


for more tutorials and tips on visual basic click here.

You can share it to your friends and fellows by clicking the links bellow……….

Bookmark and Share
Share this article :

0 comments:

Post a Comment

 
Support : Creating Website | Johny Template | Maskolis | Johny Portal | Johny Magazine | Johny News | Johny Demosite
Copyright © 2011. web technolgies jr - All Rights Reserved
Template Modify by Creating Website Inspired Wordpress Hack
Proudly powered by Free Coupons