References

If you open the Solution Explorer, you will find a References section. Semantically this is identical to the Visual Basic 6 References. The steps for adding a Reference in VB .NET are pretty similar to the steps for adding a Reference in VB6.

Here are the steps to add a reference to your project:

1.
Open the Solution Explorer.
2.
Find the References section of the project.
3.
Right-click to display the References context menu and click Add Reference.

You can add .NET assemblies, COM objects, or references to dependent projects in the current solution. (Adding a project reference was done in ClassLibraryDemo.sln in Chapter 1. A test application for the class library needed a reference to the class library while it was under development. ...

Get Visual Basic® .NET Unleashed 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.