Monday 14 September 2015

Components Of Visual Basic

Visual Basic enables beginning developers to create applications and forms.


Visual Basic is a programming language that makes creating applications and forms convenient for beginning program developers. The application uses a graphical program environment that enables developers to add a large amount of code into their programs by simply dragging and dropping various installed controls. Visual Basic uses invisible components, background tools that complement these drag-and-drop controls.


Visual Basic Components


Visual Basic includes a series of components that are importable into Windows Forms. Developers use these components, available in the Visual Basic toolbox, to perform a specific task with the forms. Dragging a component directly onto a Windows form activates it. Components differ from controls in that components lack user interfaces, while controls are visible on the form. They perform similar functions, however.


Accessing Visual Basic Components


Several areas within the program house Visual Basic Components. Many are found in the "Components" tab in the program's toolbox. Other components reside in the "Dialogs," "Data" and "Menus & Toolbars" tabs, also located in the program's toolbox. An activated component's status is visible in the component tray, located at the bottom of the program's design view.


Sample Visual Basic Component - ErrorProvider


ErrorProvider is one of several components installed in Visual Basic. The component works with the TextBox control. The TextBox control allows the users to enter text into the form. The control is used to display or accept a single line of text. However, the TextBox properties are changeable by the developer, including multiline support, scrollbars and the amount of text entered into a box. The ErrorProvider component is used to validate data entered into a Windows Forms control.


Visual Basic Component Manager


Visual Basic users can download the "Visual Basic Component Manager," a tool used to publish, organize, search and sort reusable components. The application is used to publish components to other people. Additionally, users can track components in the manager because the tool stores them in a central location. Once installed, the manager allows users to search components by keyword, property value and descriptive text, among other included options.

Tags: Visual Basic, Basic Component, Basic Components, Visual Basic Component, Visual Basic Components, allows users