VC++ Pipe Designer
Rate this article
5.00 out of 5


This article is about a project called “Pipe Designer”, a VC++ application, which will draw a Pipe in three different sizes, when the desired size is selected out from a combo box. Inputs are received through a dialogue box. And also there is an option to enter the name of the designer. This project will also show you how to develop a basic VC++ application and it upgrades VC++ 6.0 project to Visual Studio 2005 project.

Screen Shot


This article assumes that you have some basic knowledge in C++ concepts including class, function, member variable, constructor etc.

Basic Data Flow Diagram

The basic steps which I used in the development of the VC++ program are given below.

Using the Project
You can open the project both in Visual Studio 6.0 and Visual Studio 2005.

To open the project in Visual Studio 6.0:
  1. Open the project folder and explore “.dsw” extension file.
  2. Click “Build All” button to compile the project and then click the “Execute” button to display the output.
  3. You can view and edit the project as the main source code is given in ‘CDrawPipeView and CDrawPipeDlg’ classes.
To open the project in Visual Studio 2005:

  1. Open the project folder and explore “.sln” extension file.
  2. Click “Build Project” button from “Build” Menu to compile the project and then click “Start Debugging” button from “Debug” Menu to display the output.

Points of Interest

Some of the used features and classes of VC++ in this project are: MFC App Wizard, Single Document Interface, SDI Application, CWinApp, CView, CDocument,  CFrameWnd, CString, CDC, CDialog, CComboBox, Visual Studio 6.0, Visual Studio 2005.


03/04/2012 - Article Created

Please download the source code and the associated project binaries form the below link and try experimenting with the source code and binaries.

Pipe Designer Source

Pipe Designer Binaries

Joined Date :13-Mar-2012

Post Your Comments
Name (Max 50 Chars)

Academic Projects

Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud