Adding existing items (Windows forms) into a project

Environment: XPPro SP2, VS.Net2003

When I add a .Net form using the wizard, I am able to use the form designer to edit the form.  However, when I add the files using "Add existing items", I won't able to use the form designer.  In the later case, the resx file does not appear under the header file of the form.  Is there a way to fix this

Thanks!


Answer this question

Adding existing items (Windows forms) into a project

  • rebird

    Select the header file in the Solution Explorer, then from the Properties window, change the FileType from C++ Header File to C++ Form.  Now, you should be able to edit the form and the resx file should be generated.

    Vu Tran
    Visual C++ Team

  • mairead

    Thanks Vu!

    I feel so stupid.  How can I miss that! Stick out tongue

    Have a great day!

    Dennis



  • Adding existing items (Windows forms) into a project