The Visual Basic Programming Language
resources updated everyday:
Microsoft released Visual Basic in 1987. It was the first visual development tool from Microsoft, and it was to compete with C, C++, Pascal and other well-known programming languages. From the start, Visual Basic wasn't a hit. It wasn't until release 2.0 in 1991 that people really discovered the potential of the language, and with release 3.0 it had become the fastest-growing programming language on the market.
What Is Visual Basic?
Programmers have undergone a major change in many years of programming various machines. For example what could be created in minutes with Visual Basic could take days in other languages such: as "C" or "Pascal". Visual Basic provides many interesting sets of tools to aid you in building exciting applications. Visual Basic provides these tools to make your life far more easier because all the real hard code is already written for you.
With controls like these you can create many applications which use certain parts of windows. For example, one of the controls could be a button, which we have demonstrated in the "Hello World" program below. First create the control on the screen, then write the code which would be executed once the control button is pressed. With this sort of operation in mind, simple programs would take very little code. Why do it like the poor old "C" programmer who would have to write code to even display a window on the screen, when Visual Basic already has this part written for you.
Even though people tend to say Visual Basic's compiler is far behind the compilers of Pascal and C, it has earned itself the status of a professional programming language, and has almost freed BASIC of the reputation of a children's language. Overall you would class Visual Basic as a Graphics User Interface(GUI). Because as you draw, you write for the program. This must always be remembered in any kind of creation of a Visual Basic program. All in all, VB is the preferred language of many future program mers. If you want to start programming Windows, and don't know how to start, give Visual Basic a shot.
Areas of Application
The term "Personal Programming" refers to the idea that, wherever you work, whatever you do, you can expand your computer's usefulness by writing applications to use in your own job. Personal Programming is what Visual Basic is all about.
Using Visual Basic's tools, you quickly translate an abstract idea into a program design you can actually see on the screen. VB encourages you to experiment, revise, correct, and network your design until the new project meets your requirements. However , most of all, it inspires your imagination and creativity.
Visual Basic is ideal for developing applications that run in the new Windows 95 operating system. VB presents a 3-step approach for creating programs:
1.Design the appearance of your application.
2.Assign property settings to the objects of your program.
3.Write the code to direct specific tasks at runtime.
Visual Basic can and is used in a number of different areas, for example:
- Marketing and Sales
Source Code: (Hello World)
Begin VB.Form Form1
Caption = "Hello"
ClientHeight = 6030
ClientLeft = 1095
ClientTop = 1515
ClientWidth = 6720
Height = 6435
Left = 1035
LinkTopic = "Form1"
ScaleHeight = 6030
ScaleWidth = 6720
Top = 1170
Width = 6840
Begin VB.CommandButton Command1
Caption = "Hello World"
Height = 975
Left = 2040
TabIndex = 0
Top = 2280
Width = 2535
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub Command1_Click()
Print "Hello World"
This program was created with the help of Alfred J. Bruey's (April 1996) Beginning With Visual Basic Chapter 2 tutorial.
This program demonstrates the text output and button control functions of the Visual Basic programming language. By clicking on the button "Hello World", the message "Hello world" is displayed in the upper left hand corner.