none
Adding existing items (Windows forms) into a project

    Question

  • 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!
    Monday, November 28, 2005 8:21 PM

Answers

  • 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
    Monday, November 28, 2005 10:27 PM

All replies

  • 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
    Monday, November 28, 2005 10:27 PM
  • Thanks Vu!

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

    Have a great day!

    Dennis


    Monday, November 28, 2005 11:38 PM