Visual C++ Walkthroughs
Visual Studio .NET 2003
Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.
Attributes Walkthroughs
- Creating a COM DLL with COM Attributes Using a Text Editor
- Demonstrates how to quickly develop a simple COM server using various attributes with a text editor.
- Creating a COM Server Using Wizards
- Demonstrates how to quickly develop a simple COM server using various attributes with Visual C++ wizards.
- Creating an ActiveX Control with Attributes
- Uses attributes and wizards to create a simple ActiveX control.
Deployment Walkthroughs
- Deploying a Windows Application
- Guides you through deploying an application to another computer.
- Deploying a Web Solution
- Guides you through deploying a Web application to a Web server.
- Creating and Consuming a Merge Module
- Guides you through packaging a component in a merge module and then including the merge module in an installer.
- Creating a Cab File
- Guides you through distributing an ActiveX control.
- Creating a Custom Action
- Guides you through creating a custom action to send a user to a Web site following installation.
- Passing Data to a Custom Action
- Demonstrates passing data to a dynamic property during installation using a custom action and the CustomActionData property.
- Using a Custom Action to Pre-Compile an Assembly During Installation
- Guides you through creating a custom action to precompile an assembly after installation.
- Using a Custom Action to Create a Database During Installation
- Guides you through creating a custom action to create a database during installation.
- Redirecting an Application to Target a Different XML Web Service During Installation
- Demonstrates how to create a Web application that can be redirected to target a different XML Web service by using the URL Behavior property, an Installer class, and a Web Setup project.
Interoperability Walkthroughs
- Exploring COM Interoperability with ATL and Managed Extensions for C++
- Describes using Managed Extensions for C++ and ATL to target the common language runtime.
- Creating .NET Framework Components That Consume Data from Visual C++ Applications
- Provides step-by-step instructions for creating a Visual C++ application that allows access by a .NET Framework component.
- Creating Visual C++ Applications That Consume Data from .NET Framework Components
- Provides step-by-step instructions for creating a Visual C++ application that consumes data from .NET Framework components.
- Porting an Existing Native C++ Application to Interoperate with .NET Framework Components
- Provides step-by-step instructions for migrating an existing MFC application to target the .NET Framework using Managed Extensions for C++.
Libraries Walkthroughs
- ATL Tutorial
- Leads you through the creation of a control and demonstrates some ATL fundamentals in the process.
- Attributes Tutorial
- Leads you through the creation of a client and a server application using attributes and events.
- ATL Server Tutorial
- Shows how to create a simple online store that accesses a database. Covers some basic and advanced features of ATL Server including handling forms, validating user input using regular expressions, creating and using cookies, exposing statistics as performance counters, creating dynamic services, using cryptography, and more.
- Creating a Rich Client Application with MFC
- Demonstrates how to create a rich-client interface using the Microsoft Foundation Class (MFC) Library, a well-tested class library that supports a broad range of features common to all Windows applications, and consume an XML Web service created with Visual Basic or Visual C#.
Windows Forms Walkthroughs
- Creating a Simple Windows Form
- Demonstrates how to make a simple "Hello, World" application.
- Creating Dynamic Context Menus on Windows Forms
- Steps through a detailed example of creating a single context menu to serve two or more different controls.
- Retrieving Dialog Box Information Collectively Using Objects
- Gives directions for using an object to expose a group of related data from a dialog box.
- Switching Windows Forms Menu Structures Based on Application State
- Gives directions for switching between MainMenu objects programmatically.
- Updating Status-Bar Information at Run Time
- Explains how to programmatically control the data within status-bar panels.
- Debugging a Windows Form
- Gives step-by-step instructions for creating a Windows Form and debugging that form.
XML Web Services Walkthroughs
- Creating an XML Web Service Using ATL Server
- Describes the process for creating an XML Web service that converts temperatures measured in Fahrenheit to Celsius using Visual C++ and ATL Server.
- Creating an XML Web Service Using Managed Extensions for C++
- Describes creating an XML Web service using Managed Extensions for C++ and the ASP.NET Web Service project template, implementing the XML Web service, and deploying the XML Web service.
- Accessing an XML Web Service Using C++
- Describes the process for accessing an XML Web service from an application created using Managed Extensions for C++.
- Accessing an XML Web Service Using Managed Extensions for C++
- Describes the process for accessing an XML Web service from an application created using Visual C++.
Related Sections
- Visual C++ Sample Applications
- Provides links to sample code showing the capabilities of Visual C++ and the libraries and technologies that it supports.
- Managed Extensions for C++ Samples
- Provides links to samples that show how to use Managed Extensions to write .NET applications in C++.