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

Open GTS a solution for developers of GPS tracking projects in Africa

OPEN GTS A SOLUTION FOR DEVELOPERS OF GPS TRACKING PROJECTS IN AFRICA        OpenGTS  is an open source project which can help developers in Africa and anywhere in the world who want to develop web based applications on tracking system of different devices from mobile phones to cars. The project provides complete support to different operating systems and developing environment and the idea itself can be of much use if its applied effectively. The project like this can help most of African companies and individuals to track different items in their day to day life. OpenGTS  is the first available open source project designed specifically to provide web-based   GPS   tracking services for  vehicles and auto mobiles. OpenGTS   has been successful in most of the countries and it has proven to be effective and reliable this is the challenge to Tanzanian and African developers to use these tools which are available for free to develop applications which are useful to our s

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

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-understand, and to ensure t