This documentation is archived and is not being maintained.

Getting Started (How Do I in Visual C++)

This page links to help on introductory tasks related to Visual C++. To view other categories of popular tasks covered in Help, see How Do I in Visual C++.

Visual C++ Guided Tour

Introduces the Visual Studio development environment and the various types of applications that you can create with Visual C++.

Creating a Windows Forms Application By Using the .NET Framework (C++)

Explains how to use Visual Studio to create a Windows Forms application.

Creating a Windows Forms Control (C++)

Explains how to use Visual Studio to create a Windows Forms control and how to use that control in an application.

Creating and Developing Managed Device Projects

Discusses some of the differences between developing for managed devices and developing for the desktop.

How to: Create a SQL Server Project (C++)

Provides an overview of the SQL Server Class Library template.

CLR Console Application Template (C++)

Introduces the Console Application template used to create applications that are run from the command line.

Creating and Using a Managed Assembly (C++)

Demonstrates how to create a managed assembly and how to use that assembly from another application.

Creating a Standard C++ Program (C++)

Explains how to create and compile a standard C++ program using Visual Studio.

MFC Application Wizard

Explains how to use the MFC Application Wizard to create an MFC application.

MFC ActiveX Control Wizard

Explains how to use the MFC ActiveX Control Wizard to create an MFC ActiveX control.

Win32 Application Wizard

Explains how to use the Win32 Application Wizard to create a standard C++ program.

MFC DLL Wizard

Explains how to use the MFC DLL Wizard to create an MFC Dynamic Link Library.

ATL Project Wizard

Explains how to use the ATL Project Wizard to create an Active Template Library application.

Windows Service Template (C++)

Explains how to use the Windows Service Template to create a Windows service, a long-running executable application that runs in its own Windows session.

Creating and Porting Visual C++ Device Projects

Includes topics on creating new Visual C++ device projects, and allowing existing projects to target devices in the Visual Studio 2005 environment.

Creating and Using a Dynamic Link Library (C++)

Demonstrates how to create a Dynamic Link Library and how to use that DLL from another application.

C++ Language (How Do I in Visual C++)

Introduces the new syntax for C++ used to target the Common Language Runtime (CLR).

How to: Read a Binary File (C++/CLI)

Demonstrates reading binary data from a file.

How to: Write a Binary File (C++/CLI)

Demonstrates writing binary data to a file.

How to: Read a Text File (C++/CLI)

Demonstrates how to open and read a text file one line at a time.

How to: Write a Text File (C++/CLI)

Demonstrates how to create a text file and write text to it using the StreamWriter class.

How to: Enumerate Files in a Directory (C++/CLI)

Demonstrates how to retrieve a list of the files in a directory.

How to: Monitor File System Changes (C++/CLI)

Uses FileSystemWatcher to register for events corresponding to files being created, changed, deleted, or renamed.

How to: Retrieve File Information (C++/CLI)

Demonstrates the FileInfo class. When you have the name of a file, you can use this class to retrieve information about the file such as the file size, directory, full name, and date and time of creation and of the last modification.

How to: Write Data to the Windows Registry (C++/CLI)

Uses the CurrentUser key to create a writable instance of the RegistryKey class.

How to: Read Data from the Windows Registry (C++/CLI)

Uses the CurrentUser key to read data from the Windows registry.

How to: Retrieve Text from the Clipboard (C++/CLI)

Uses the GetDataObject member function to return a pointer to the IDataObject interface, which can then be queried for the format of the data and used to retrieve the actual data.

How to: Store Text in the Clipboard (C++/CLI)

Uses the Clipboard object defined in the System.Windows.Forms namespace to store a string.

How to: Retrieve the Windows Version (C++/CLI)

Demonstrates how to retrieve the platform and version information of the current operating system.

How to: Retrieve Time Elapsed Since Startup (C++/CLI)

Demonstrates how to determine the tick count, or milliseconds that have elapsed since Windows was started.

Help on Help (Microsoft Document Explorer Help)

Provides information about using Microsoft Document Explorer and the various Help collections available to you.

Techniques for Locating Help

Provides useful strategies for finding the type of information you are looking for.

Show: