How to: Create a New Windows Forms Application Project

The foundation of most solutions that involve Windows Forms is the Windows Forms Application project. Creating a project is easy within the integrated development environment (IDE).

Note Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

To create a Windows Forms Application project

  1. Start Visual Studio.

  2. On the menu bar, choose File, New, Project.

    The New Project dialog box appears.

  3. In the Installed Templates pane, choose Visual Basic or Visual C#.

  4. Above the middle pane, choose the target framework from the drop-down list.

  5. In the middle pane, choose the Windows Forms Application template.

    Note Note

    The Windows Forms Application template in the .NET Framework 4 targets the Client Profile by default. For more information, see .NET Framework Client Profile.

  6. In the Name text box, specify a name for the project.

  7. In the Location text box, choose a folder to save the project.

  8. Choose OK.

    The Windows Forms Designer opens and displays Form1 of the project.

    Visual Basic note Visual Basic Note

    Every executable file you create with Visual Basic 2005 contains a namespace with the same name as your project. For more information, see Namespaces in Visual Basic.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft