VC++ Directories, Projects and Solutions, Options Dialog Box
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This dialog box lets you specify directories where the Visual Studio project system should look for files. You can specify as many directories as you want. For special situations, you can remove standard Visual Studio directories, so that your versions of build files are found rather than the Visual Studio defaults.
If you want to set up directory search paths (for your projects) that can be shared by other users or that can be applied across multiple computers, Visual C++ provides an alternative to this dialog box, by using project property sheets. For more information, see Property Sheets (C++).
Notice that the VCComponents.dat file contains user settings for the computer. If you uninstall Visual Studio and then reinstall it in a different directory or drive, you first have to delete VCComponents.dat. Otherwise, your builds will fail. VCComponents.dat is located in \Documents and Settings\user\Local Settings\Application Data\Microsoft\VisualStudio\7.1\.
To access this dialog box
On the Tools menu, click Options.
Expand the Projects and Solutions node.
Select the VC++ Directories page.
To use the directory listing box
Use the up and down arrows to view additional directories in the list.
To add a directory to a list, click the folder button above the directory window. This will add a new line in the directory window. Then, on the new line, click the button that has three dots. This opens a Windows dialog box where you can browse for a directory to add.
To remove a directory from a list, select itand then click the delete button above the directory display.
For information about how to programmatically access the functionality of this dialog box, see VCPlatform.