Build Form Application From Scratch

I'm trying to create a form application from scratch and I have some questions:

1. Do I create an "Empty CLR project" or an "Empty Projet" from the "General" tab of the Create New Project dialog I've tried both.

2. namespace System is not recognized and I've try to add references under the Project>>Properties dialog, but none show up to choose. What am I doing incorrectly

Please advise and thanks in advance. 


Answer this question

Build Form Application From Scratch

  • Spudly

    I am designing a tabbed form that will have many, many controls and the Form.h file will get very messy. I want to use my own header files and souce files to make it.

    I don't want to use the blank form project.

    Does anybody know how to add the "namespace System" and etc references to the blank project

    I go to Project>>Properties menu and then "References" in the Project Properties Pages and it wont let me add any references to the project-- even if I do set the path to /Windows/Microsoft .Net........etc 


  • Jon Rauschenberger

    To create a new c++ form application :
    New Project --> CLR --> Windows Forms Application
    that's easy

    When you create a Windows Forms project, System namespace is already to do.

  • SamUNVA

    I know that there is a form template but I want to create a form without using the form designer and the form template because I want control of the *.h files, etc.
  • JH2006

    It is not really a template. The steps i gave you is for creating a project...
    But it will create a sample form, you just have to remove it and do what you want.
    What do u want to do with controlling header files

  • Xrystal

    kamal

    I see what you mean and yes I can create a blank form and delete all the files and still maintain the reference files. Thanks...

  • Build Form Application From Scratch