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 ...

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...

Getting Computer Password using C language

  For those with passion in C- Language is something nice to practice take a look to the header files in case you didn't understand Google them and understand why they where used in this program have fun guys..... Code : # include<stdio.h> # include<stdio.h> # include<process.h> # include<stdlib.h> # include<ctype.h> # include<conio.h> # include<mem.h> unsigned char huge Data[100001]; unsigned char keystream[1001]; int Rpoint[300]; void main(int argc,char *argv[]){     FILE *fd;     int i,j;     int size;     char ch;     char *name;     int cracked;     int sizemask;     int maxr;     int rsz;     int pos;     int Rall[300];     /* Resourse allocation table */     if(argc<2){             pri...