Starting Visual Basic 6


In this lesson, you're going to learn about starting the Visual Basic software where you will design and write code for your program. If you're already familiar with the things explained in this lesson, you may skip it.




Start a New Project

Run the Visual Basic software from the list of programs or a desktop shortcut icon. A window as same as the following picture will appear.
Start Standard exe project 

Click "Standard EXE". Start a Standard .exe type of  project. In the beginner level, you will only learn about this type of project.

Other project types on this window are for the advanced learners. You can do a lot of things implying VB6 is giving you enough power in your hand through these different project types.



The Integrated Development Environment 

After this, the main workspace appears where you will develop your application with the tools in IDE (Integrated Development Environment).
The Integrated Development Environment 
It is very important to know the names of all the elements of this development environment. The tools available here makes it very easy for you to develop an application. The VB6 IDE provides you many tools in one place. You can add a control on the form of your choice, set a property of an object from the Properties Window on the right hand side, set the form layout and many more things that you can use alongside your coding. You can even fill the ToolBox with lots of additional controls.



View Code Window 

Double-click on form or any control on the form or click "view code" icon  in explorer window to view the code window.
The Window where you write the code


 

Save your project 

After developing your application, save your project in order to modify or improve it later, or make an executable file with a few clicks. The project, form and module are saved in .vbp, .frm and .bas extensions respectively. 
Open or Save project


Click on "Make Project1.exe", it will make an executable file that will run like any other software.