Testing the Control

A custom User control eventually ends up as a part of a DLL (Dynamic Link Library) file. Components contained in a DLL file, when registered on another user’s machine, can be added to a Visual Basic project or displayed on a Web page in Internet Explorer. However, during the development process, you need a way to test and debug your Windows controls within the Visual Basic .NET design environment. This process is slightly more complicated than debugging a normal Windows Application project because you have to deal with two separate sets of running code: the new control itself and the project using the new control.

Building the Control Project

To make the new control available for use by other projects and applications, you ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.