by Dinesh Thakur Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

The following properties apply to most of the objects :

 
by Dinesh Thakur Category: Basic Of Visual Basic

OLE definition is that, OLE (pronounced as oh-leh) was originally mean as 'object linking and embedding', it is a Microsoft compound document technology based on Component Object Model (COM), It is introduced into Microsoft Windows 3.1. 'OLE (object linking and embedding)' gives all Windows applications a standard way to create compound documents that create objects within one microsoft application and embed them into other document. OLE object meaning is graphic,spreadsheet,msword, etc. that can be embedded into a document called the "container application." If the object allowed to be edited, the application associated with it is called "server

application".

 
by Dinesh Thakur Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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

 
by Dinesh Thakur Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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.

 
by Dinesh Thakur Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Basic Of Visual Basic

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 Category: Variables and Constants

1. Visual Basic provides number of built in functions. The Val function is one of it. Val function converts the text data into a numeric value.

 

Page 1 of 5



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.