Skip to main content

Developing System management application using Visual Basic 6.0 and windows shell command





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


Comments

Popular posts from this blog

Cloud computing

Basically, personal cloud computing means having every piece of data you need for every aspect of your life at your fingertips and ready for use. Data must be mobile, transferable, and instantly accessible. The key to enabling the portable and interactive you is the ability to synch up your data among your devices, as well as access to shared data. Shared data is the data we access online in any number of places, such as social networks, banks, blogs, newsrooms, paid communities, etc. Cloud computing for Africa is the dream come true since the main hindering factors of the advancement of IT industry in Africa where infrastructures and going cloud meaning that increasing ability to share resources in a virtual world rather than using physical hardware and resources in which in one way or the other it was difficult to achieve in our continent. For example now we don’t have to move physical servers and hardware from one area to another and reduce the cost and com...

Software for mobile development

Mobile development has been growing since the day Apple introduced iPhone. Mobile browser has never been so robust. It supports HTML5, CSS3 even with CSS animation. After that, Google introduced Android, and the era of mobile platform has began. Motodev Dedicated to opening up the potential of Android to every developer, Motodev is simply the best way to get started, stay inspired, and invent the future with a whole new generation of phenomenal user experiences.      Motodev has everything you need information, early access, tools and documentation, community support, and go to market resources to get started, develop, and distribute Android apps that tap the power of Motorola’s latest hardware innovations.For more information about Motodev studio follow this Learn more DynamicX DHTMLX Touch is an HTML5-based JavaScript library for building mobile web applications. It is not just a set of UI widgets, but a complete frame...

Insights Africa: Google Launches Website on Africa Internet Trends (“First of it’s Kind”)

All Rights Reserved  From TechTalkAfrica : Insights Africa: Google Launches Website on Africa Internet Trends (“First of it’s Kind”) by Staff Writer - on Apr 4th 2012 Recently Google recently launched a new interactive tool providing data about the online behavior of urban consumers in five key African markets: Ghana, Kenya, Nigeria, Senegal, South Africa and Uganda, the site is called  Insights Africa , it is filled with insights on people’s behaviors and attitudes regarding the Internet in Africa. The aim is to understand how and why people use the internet, what prevents non-users from coming online, and much more This  is what Google had to say on their Google Africa Blog “As more and more people start using the internet in Sub-Saharan Africa, it becomes ever more important to understand the online population. After completing the study, we wanted to make sure that this data was publicly accessible, easy-to-und...