Visual Basic
Visual Basic
1. Geometric Progression.
2. Quadratic Equation Solver.
3. Prime Number Tester.
4. Inventory management.
5. Multimedia player.
Starting VB:
Go to start menu -> Microsoft visual studio -> visual basic 6.0
If You Save the project it will save with .vb extension and If you
save the form it will save with .frm extension,
Title Bar
The Title Bar is the horizontal bar located at the top of the screen.
It is the name of the application.
Menu Bar
For Visual basic, menu bar gives you the tools needed for develop,
test and save your application.
File Menu – commands for working with files.
Edit Menu – Contains many of the editing tools which helps to
design your application
View Menu
Fast access to different parts of your program and visual basic
environment.
For going to code section press ‘F7’ Key and for design view Press
‘Shift + F7’ Key.
Project Menu
This menu allows you to insert external files or new vb objects into
your projects.
Format Menu
Used to specify the look of the controls that you placed in your
project.
Debug Menu
Contains tool for correct the bugs in your Code.
Start debugging by press ‘F8’ Key’.
Run Menu
Gives the tools needed to stop and start your program.
Run the program by pressing ‘F5’ Key.
Tools Menu
gives the way of adding procedures and menus to your programms.
Windows Menu
Lets you control how the windows of VB environment are arranged.
Help Menu
Gain access to the detailed online help system provide with VB.
Short cut key for view help ‘ctrl + F1’.
Tool Bars:
Tool bars display the functionality as icons.
The Debug tool bar provides a quick shortcut to debug or check the code
of your project.
The Form editor tool bar provides a quick shortcut to design the form
window.