Notes on Visual Basic (VB) cover fundamental concepts, syntax, and features of the VB programming language. They may include explanations of data types, variables, control structures (such as loops and conditionals), procedures and functions, error handling, and object-oriented programming concepts. These notes might also include examples and code snippets to illustrate key concepts, as well as tips and best practices for writing efficient and maintainable VB code.
1. What is Visual Basic?
It's a computer programming system developed
and owned by Microsoft. Visual Basic was originally
created to make it easier to write programs for the
Windows computer operating system. The basis of
Visual Basic is an earlier programming language
called BASIC that was invented by Dartmouth
College professors John Kemeny and Thomas
Kurtz. Visual Basic is often referred to using just the
initials, VB. Visual Basic is easily the most widely
used computer programming system in the history
of software.
2. 1. Full set of controls –you “draw” the application.
2. Lots of icon and pictures of your use.
3. Response to mouse and keyboard actions.
4. Clipboard and printer access.
5. Full array of mathematical, string handling, and graphics
function.
6. Power full database access tools.
7. Active X support.
8. Useful debugger and error-handling facilities.
9. Can handle fixed an dynamic variable and arrays.
10.Package and deployment wizard makes distributing your
application simple.
3. The form windows is central to developing visual basic application. It is
where you draw your application.
The toolbox is the selection menu for control used in your application.
Help with any control is available by clicking the control and pressing
<F1>
Is the used to establish initial property values for object controls. The
drop down box at the top of the window lists all objects in the current
form.
4. A project window is a collection of files used to build an application. A project
file (.vbp) contains the list of names and disk locations of all files needed for
the project.
The code window displays the code for the selected object. To view code,
you need to select to object and press <F7>, or go to view menu or to select
code.