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

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 framework that allo

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