beginners tutorial - Learn VB6
VB6 tutorial - Learn Advanced VB6
VB .NET - Learn Visual Basic .NET
Analysis - System analysis and Design tutorial for Software Engineering
You are here: Visual
Basic > Advanced VB6 tutorial
> Chapter 8
Managing ADO Objects With the Data Environment Designer in VB6
A Data Environment Designer is a visual interface for managing a VB
Connection and Command objects. Take the following steps to add a Data Environment
Designer to your project:
STEP BY STEP
8.1 Adding a Data Environment Designer to a Project
Choose the Project menu in VB.
Make sure that Add Data Environment is one of the Project menu's options. If Add
Data Environment does not appear on the Project menu, add it by performing the
Choose Project, Components and select the Designers tab on the Components dialog
box (see Figure 8.1).
In the Components dialog box, check the Data Environment box, as shown in Figure
FIGURE 8.1 Adding the Data Environment Designer component to your project.
Click the OK button on the Components dialog box.
Choose Project, Add Data Environment from the VB menu.
Navigate to the Properties window of the Data Environment Designer (see Figure 8.2).
Change the Name property of the Data Environment object as desired (Name is recommended to
begin with "de").
FIGURE 8.2 Changing the Name property of a Data Environment.
You are now ready to add ADO
objects to the Data Environment.
<< Previous | Contents
| Next >>