In order to test the ShapeLabel control, you need a test project.
To allow debugging of in-process components, Visual Basic allows you to load two or more projects into a project group. In addition to enabling in-process debugging, the project group makes it easier to load your .ocx project and test project.
Note This topic is part of a series that walks you through creating a sample ActiveX control. It begins with the topic Creating an ActiveX Control.
To add a test project to the project group
Important Do not click Open Project or New Project, as these will close your control project.
The new project immediately becomes the Startup project for the project group. The Project Explorer window identifies the Startup project by displaying its name in bold type. An ActiveX control project, like ControlDemo, cannot be the Startup project.
File | Filename | Extension |
Form | TestCtlDemo_Form1 | .frm |
Project | TestCtlDemo | .vbp |
Project group | ControlDemo | .vbg |
For More Information Test projects for ActiveX controls are discussed in more detail in "Debugging Controls," in "Building ActiveX Controls."
This topic is part of a series that walks you through creating a sample ActiveX control.
To | See |
Go to the next step | Running the ShapeLabel Control at Design Time |
Start from the beginning | Creating an ActiveX Control |