Visual Basic Concepts
The MyDataControl control will be compiled into an .ocx file in a later step in this chapter, so it can be used in other projects. Thus the MyDataControl project will be created as an ActiveX control project.
Note This topic is part of a series that walks you through creating sample data source components. It begins with the topic Creating Data Sources.
To create the MyDataControl project
Visual Basic automatically adds a UserControl designer to the project. The default name, UserControl1, appears as the caption of the designer.
Property | Setting |
Project Name | MyDataControl |
Project Description | ActiveX data source control demo. |
File | File name | Extension |
User control | MyData | .ctl |
Project | MyDataControl | .vbp |
Binary information in a control — such as bitmaps — will be saved in a binary file with the same name and an extension of .ctx.
For More Information See "Setting Up a New Control Project and Test Project" and "Debugging Controls," in "Building ActiveX Controls."
This topic is part of a series that walks you through creating sample ActiveX data sources.
To | See |
Go to the next step | Drawing the MyData Control |
Start from the beginning | Creating Data Sources |