by Dinesh Thakur

OLE stands for object linking and embedding, a capability introduced into Microsoft Windows 3.1. OLE gives all Windows applications a standard way for incorporating objects created in one program into documents created with other programs.

 
by Dinesh Thakur

A Microsoft OBJECT LIBRARY that provides extensible, object-oriented access to data held in a variety of formats. It is intended to supplant the firm's earlier database access libraries DATA ACCESS OBJECTS and ROO, and is employed by both MICROSOFT TRANSACTION SERVER and INTERNET INFORMATION SERVER as their main means of retrieving data from both local and remote databases.

 
by Dinesh Thakur

A format developed by the Microsoft Corporation for implementing object-oriented software components. ActiveX controls are prefabricated components based on Microsoft's COM object model, which can be employed to create new applications with little or no programming, for example by simply dragging-and-dropping them into a document, or by downloading them into a browser from a web site.

 
by Dinesh Thakur

An alert box is a message that appears on the screen to warn you of some imminent disaster, or to inform you of a situation in which your actions may have irreversible consequences.

 
by Dinesh Thakur

Objects : Objects are the real world entities. People, companies, employees, fan and ledger entries are all types of objects. In object-oriented terms, the word object is used to describe one specific thing like a car. Objects have an identity and this identity is defined with properties. A car has its name, model, cost and color.

 
by Dinesh Thakur

The following properties apply to most of the objects :

 
by Dinesh Thakur

The user interface is what appears in the application’s window when it runs. It consists of various elements with which the user can interact and control the application. The first element of the user interface is the Form.

 
by Dinesh Thakur

Visual Basic is not only a language. It’s an Integrated Development Environment in which you can develop, run, test and debug your applications.

 
by Dinesh Thakur

Objects:

 

Think of objects as a thing, or a noun. Examples of objects are forms and controls.  Forms are the windows and dialog boxes you place on the screen; controls are the elements that you place inside a form, such as text boxes, command buttons, and list boxes.

 
by Dinesh Thakur

To write a Visual Basic project you follow the three step process for creating the project and then repeat the project for creating the project. The three step involves setting up user interface, defining the properties, and creating code.

 
by Dinesh Thakur

Visual Project consist of at least two, and usually more, files as follows:

 .vbp file: This file is called the project file, is a small text file that holds the names of the other files in the project, as well as some information about the VB environment.



 
by Dinesh Thakur

Visual Basic has three distinct modes. While you are designing the user interface and writing code, you are in design time. When you are testing and running project, you are in run time. If you get an error or pause project execution, you are in break time.

 
by Dinesh Thakur

Every control has it’s properties one of the common properties of controls is name property. Name property is the one by which the control is identified and it is referred as the object name of that control.

 
by Dinesh Thakur

Caption property of the Label control determines what will appear on the Label control.  This Caption property is changed at run time or design time.  Use can not change the Caption property of the Label control.

 
by Dinesh Thakur

Command button has a Caption property which is used to display a text on the top of Command Button.

 
by Dinesh Thakur

Visual Basic is event driven programming language. Over here cmdPush_Click() is a event procedure, which belongs to cmdPush command button object.

 
by Dinesh Thakur

While your project is running, the user can do many things, such as move mouse around; click on either button; move, resize or close your form’s window; or jump to another application. Each action by the user causes an event to occur in your Visual Basic Project.

 
by Dinesh Thakur

Visual Basic convert your project to machine language, it finds any compile errors. You get compile errors when you break the syntax rules of Basic and sometimes when use an illegal object or property.

 
by Dinesh Thakur

If you are a windows use,you probably appreciate and rely on ToolTips,those small labels that pop up when you pause your pointer over a toolbar button or control.You can easily add ToolTips to your projects by setting the ToolTip Text property of any control that you want to display a ToolTip.