Microsoft KB Archive/323187

= How to use the Visual Studio .NET or Visual Studio 2005 samples without the media CD or DVD =

Article ID: 323187

Article Last Modified on 12/11/2006

-

APPLIES TO


 * Microsoft Visual C++ 2005 Express Edition
 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ .NET 2002 Standard Edition
 * Microsoft Visual C# 2005 Express Edition
 * Microsoft Visual C# .NET 2003 Standard Edition
 * Microsoft Visual C# .NET 2002 Standard Edition

-



This article was previously published under Q323187



SUMMARY
The samples in Microsoft Visual C# and Microsoft Visual C++ are not installed as a part of the setup of Microsoft Visual Studio .NET or Microsoft Visual Studio 2005. Therefore, even after a full installation, you receive a prompt for a CD or a disk if you want to use the samples in the documentation. This article shows you how to install the samples on your hard disk so that you can use them without the CD or DVD.



MORE INFORMATION
To install the samples and then to use them without the CD or DVD, follow these steps:
 * 1) In Windows Explorer, copy the Samples folder from the Visual Studio .NET or Visual Studio 2005 DVD or from the Visual Studio .NET or Visual Studio 2005 CD 2 to your local drive. It does not matter where you put the samples when you copy them. For this example, copy them to c:\MySamples. Remove the CD from the drive.
 * 2) Start Visual Studio .NET or Visual Studio 2005, locate the Help topic &quot;Visual C++ Samples,&quot; and then display it.
 * 3) Follow the links to open one of the samples (it does not matter which sample you select).
 * 4) You receive a prompt to insert the Visual Studio .NET or Visual Studio 2005 CD. Instead of doing this, click Browse, and then locate the folder on your hard disk where you copied the samples in step 1 (c:\MySamples).
 * 5) Locate the SFL folder in the Samples folder. For example, if you are loading a Visual C++ sample, locate the c:\MySamples\Samples\VC\SFL folder. Information about the sample and the sample file list appears. From this point on, Visual Studio .NET copies the C++ samples from your hard disk. You only have to complete these steps one time.
 * 6) Repeat this process for the C# samples.

Keywords: kbhowto kbsample kbsetup KB323187

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.