How to create – add C++ Windows Form Application in Visual Studio 2012

To know how to add / create a C++ Windows Form Application in Visual Studio 2012, check out the following page:

http://tomtheprogrammer.wordpress.com/2013/05/27/how-to-create-add-c-windows-form-application-in-visual-studio-2012/

Here's the tutorial:

How to create – add C++ Windows Form Application in Visual Studio 2012

Step One

Download the following files.
VS 2012 CPP Win Forms.zip

http://www.abouthack.com/images/articles/programming/c-plus-plus/windows-forms-application-in-visual-c-2012/VS2012CPPWinForms.zip

Now extract the compressed file.


Step Two

Now fire up windows explorer and go to “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects\vcNET\“
or “[Visual Studio Installation Directory] \VC\vcprojects\vcNET\“


Step Three

Create a new directory and now backup all the files.


Step Four

Now copy all the extracted files from “Step One” and paste inside this folder “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects\vcNET\” or “[Visual Studio Installation Directory] \VC\vcprojects\vcNET\“

For all you VS express users:

use this directory: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects_WDExpress\vcNET\
and you also need to copy the WinForm directory from another version to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\AppWiz\.NET\

Here’s the path for Winform in Visual Studio Express 2010:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCWizards\AppWiz\.NET\WinForm

Here’s the path for Winform in Visual Studio Express 2012:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\AppWiz\.NET\WinForm


Step Five

Run Visual Studio and select New Project > Visual C++ > CLR
Now you should be able to see Windows Forms Application
Be aware that the resulting C++ WinForm application in VS 2012 will use .Net Framework 4.5.


Step Six (optional)

Create a new Windows Forms in Visual C++ and see if everything is working or not.

Go to this web page for reference as the source for this blog post:

http://www.abouthack.com/articles/programming/c-plus-plus/windows-forms-application-in-visual-c-2012.html

The comments there explain the VS Express instructions.
Last edited on
closed account (G309216C)
Well, First of all I have no clue why you choose to tell us this because using Windows Form will create a dependency of .NET framework. Unlike normal C++ projects which do not have .NET framework dependency.

Second of all, You are not explaining it very well just linking us to a Website rather than re-write your own tutorial.

Thanks,

But still it is useful.
Topic archived. No new replies allowed.