TechCSE: VB Basic

VB Basic


The Toolbox gives you the total control to make a project in VB. Using this tool you have to
make your project and foe this you have to follow some steps :
1.Open a form in the Object Window.
2.Select a control by clicking once.
3.Click on the form where you want the top-left corner of the control to    be.
4.Holding the mouse button down,drag the mouse to where you want to place the control.
5.Release the mouse button.
When your form is ready by placing the controls you have to write the code for the controls, but
before that if you want to change the properties then right click on the controls and select Properties
option.
Next you write down the code of the objects, if you don’t know anything about the VB code
then don’t worry we will come back to this soon. After the complete the project compile it by clicking
f5 or go to Run->Start or click on the green PLAY button on the tool bar. If no errors are there then it
will run smoothly. And to terminate it press the close button in the form or go to Run->End.
Making the EXE file :
In VB6 only compiling does not make the .EXE file, but in higher version by only compiling
the .exe is created. In VB6 you have to make it manually. For that open your project and go to
File->Make Project_Name.EXE. The .EXE file will be created in Files\ Microsoft Visual
Studio\VB98\Project_Name.exe.

No comments:

Post a Comment

Copyright © TechCSE Urang-kurai