Mibhel_04

Home
w3schools
What is Visual Basic?
What is Visual Basic?
History Of Visual Bcsiv
Visual Basic Calculator
Sample Sourcecode
Visual Basic 6.0

History of Visual Basic

Paraphrased from the Visual Basic Programmer's Journal February 2000 Issue

March 1988---Microsoft Buys Tripod

Alan Cooper, the 'father' of Visual Basic, shows a drag-and-drop shell prototype called Tripod to Bill Gates. Microsoft negotiates to buy the concept, now code-named Ruby. The Tool includes a widget control box, the ability to add widgets dynamically, and a small language engine.

1991---PowerSoft's Powerbuilder Debuts

DataWindow gives point-and-click SQL data access.

March 20, 1991---VB1 Debuts at Windows World

Microsoft marries QuickBasic to Ruby shell app and gives it a new code name: Thunder. The result is the first tool that lets you create Windows apps quickly, easily, and visually. Features include a drag-and=drop control toolbox, codeless UI creation, and an event-oriented programming model.

May 1991---Third Party Market Born

Several standard-setting add-ons become available at or slightly after VB1's introduction, including MicroHelp's VBTools.

May 1991---Sheridan Software's VBAssist Debuts

First add-on to integrate directly into the IDE

March 1992---VB 2.0 Toolkit (Rawhide) Released

This toolkit integrated several third-party tools into a single package, putting controls in the hands of many VB developers for the first time. It provided instrumental in helping VB's third party market achieve critical mass.

November 1992---VB2 Debuts

Adds ODBC Level 1 support, MDI forms, and object variables. First version to feature the Professional Edition.

November 1992---Microsoft Access Ships

It brings VB's combination of extensibility, ease-of-use, and visual point-and-click emphasis to a Relational Database. It also includes a macro language called Access BASIC that contains a subset of VB 2.0's core syntax.

June 1993---VB3 Debuts

Integrates the Access Engine (Jet), OLE Automation and reporting.

May 1995---Borland's Delphi Debuts

The perennial preview for the features you'll find in the next VB release.

Fall 1996---Internet Explorer 3.0 Ships

Features include VBScript, which contains a subset of VB. It lets developers leverage their existing VB skills in Web programming.

October 1996---VB4 Debuts

Permits you to create your own add-ins. Also introduces classes and OCX's.

Winter 1996---NT Option Pack 4 Released

Includes Internet Information Server 3.0, which includes ASP. Enabled VB programmers to leverage their existing skills on Web servers.

January 1997---Microsoft Office 97 Debuts

Developer Edition integrates VBA into all Office apps (except Outlook which uses VBScript)

April 1997---VB5 Debuts

Incorporates compiler, WithEvents, and the ability to create ActiveX controls.

October 1998---VB6 Debuts

Introduces WebClasses, windowless controls, data designers, new reporting designers, and the ability to create data sources.

February 2002---VB.Net Debuts

April 2003---VB.Net 2003 Debuts

November 2005---VB.Net 2005 Debuts

The Visual Basic Programming Language

Click below to go directly to a specific section:
History | Significant Language Features | Areas of Application | Sample Programs
Related Links | Printed References | Acknowledgments

History

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.


Significant Language Features

Visual Basic is not only a programming language, but also a complete graphical development environment. This environment allows users with little programming experience to quickly develop useful Microsoft Windows applications which have the ability to use OLE ( Object Linking and Embedding ) objects, such as an Excel spreadsheet. Visual Basic also has the ability to develop programs that can be used as a front end application to a database system, serving as the user interface which collects user input and displays formatted output in a more appealing and useful form than many SQL versions are capable of.

Visual Basic's main selling point is the ease with which it allows the user to create nice looking, graphical programs with little coding by the programmer, unlike many other languages that may take hundreds of lines of programmer keyed code. As the programmer works in the graphical environment, much of the program code is automatically generated by the Visual Basic program. In order to understand how this happens it is necessary to understand the major concepts, objects and tools used by Visual Basic. The main object in Visual Basic is called a form. When you open a new project, you will start with a clear form that looks similar to this :

This form will eventually be incorporated into your program as a window. To this form you add controls. Controls are things like text boxes, check boxes and command buttons. Controls are added to your form by choosing them from the Visual Basic "tool box" with the mouse and inserting them in the form. Yours may look different, but the basic Visual Basic Tool Box looks like this :

Once forms/controls are created, you can change the properties ( appearance, structure etc. ) related to those objects in that particular objects properties window. From this window, you choose the property you want to change from the list and change its corresponding setting. Here is an example of a properties window :

Finally, you can add events to your controls. Events are responses to actions performed on controls. For example, in the "Hello world" program sample on this page, when you click on the command button on our form the event that is triggered is the output of the message "Hello world" to the screen. Code must be written to create an event. You can do this in Visual Basic's code window. Yours will look similar to this ( except of course, the body of the sub-procedure where the actions are specified) :

Once the code box is open, you select the object to create an event for and the triggering action ( such as a certain mouse action ) from the drop down menus in the code box. You can open a code box for a particular form by choosing it from the project window and selecting the View Code button. The project window contains a list of objects associated with that project. Below is an example of a project window :

Once all your objects are created, you can combine them to form a single executable program that can be run outside of the Visual Basic environment, in Microsoft Windows.

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:

  • Eucation
  • Research
  • Medecine
  • Business
  • Commerce
  • Marketing and Sales
  • Accounting
  • Consulting
  • Law
  • Science

 

Enter second column content here

Enter supporting content here