VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering

You are here: Visual Basic > Advanced VB6 tutorial > Chapter 13

Creating Data-Aware ActiveX Controls

Controls in the VB development environment can be aware of data in two ways:

  • A control can be bindable to data fields in the Recordset of a DataSource control. Examples of some controls that can be bound to data in VB are TextBox controls, Labels, ListBoxes, and ComboBoxes.

  • A control can be a DataSource, exposing a Recordset's data fields to which other controls can bind. The ADO Data Control discussed in Chapter 8 is an example of such a control.

In the following sections, we discuss how you can create your own ActiveX controls that are either data-bound controls like the TextBox or DataSource controls like the ADO Data Control.

  1. Enabling the Data-Binding Capabilities of an ActiveX Control

  2. Creating an ActiveX Control that Is a Data Source


<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © | All Rights Reserved