Datasheet

Show All Files The Show All Files command makes Solution Explorer list files that are nor-
mally hidden. These include resource files corresponding to forms, hidden partial classes such
as designer-generated form code, resource files, and files in the
obj and bin directories that are
automatically created by Visual Studio when it compiles your program. Normally, you don’t
need to work with these files, so they are hidden. Select this command to show them. Select the
command again to hide them.
Add Reference The Add Reference command displays the dialog shown in Figure 1-11. Select
the category of the external object, class, or library that you want to find. For a .NET component,
select the .NET tab. For a Component Object Model (COM) component such as an ActiveX
library or control built using Visual Basic 6, select the COM tab. Select the Projects tab to add a
reference to another Visual Studio project. Click the Browse tab to manually locate the file you
want to reference.
Figure 1-11: Use the Add Reference dialog to add references
to external libraries.
Scroll through the list of references until you find the one you want and select it. You can use
Shift-Click and Ctrl-Click to select more than one library at the same time. When you have
made your selections, click OK to add the references to the project. After you have added a ref-
erence to the project, your code can refer to the reference’s public objects. For example, if the file
14
Chapter 1
571982 ch01_2.qxd 1/19/06 1:15 PM Page 14