Creating Your First Class Library

To see how to build your first class library, start Visual Studio .NET and from the Start Page, click Create New Project. From the New Project dialog box, choose Visual Basic Projects in the Project Types list box, and then choose Class Library in the Templates list box. Name the project Healthcare and click the OK button.

At this point, a new class is created for you. The first thing you might notice is that the class does not have a designer, which is the “form” on which you can drop controls. This lack of a designer makes the class different from most other VB .NET file types, such as Forms, Web Forms, and even a Web Service. Instead, you start with basically the same thing you had in VB6: an empty class. ...

Get A Programmer's Introduction to Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.