Cannot add new member!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Cannot add new member!

  1. #1
    Join Date
    Feb 2001
    Posts
    2,455

    Cannot add new member!

    Hello. I needed some form layouts from a different application in my new application so I added the other project workspace to my new project workspace. I copied the form layouts, and removed the old project workspace and now I cannot add new members using the wizard. If I reinsert the old project workspace then I can without problems.

    Any solutions?
    Mike B

  2. #2
    Join Date
    Jul 2002
    Location
    St. Louis, MO
    Posts
    484
    Open the directory containing the new project and delete the *.CLW file. Then try to open the class wizard. It will say that the class wizard cannot be found, and ask you if you want to create a new one from your source files. Say yes. Then select ALL of the header (.h) and implementation files (.cpp) to build the new wizard. That should take care of it.

  3. #3
    Join Date
    Feb 2001
    Posts
    2,455
    Thank you for your reply. I tried this before and again after reading your post and it did not work. Are there any additional files I should remove? It will let me see the class wizard after doing this but still says "Cannot add new member".

    Strange!!

    Mike B

  4. #4
    Join Date
    Jul 2002
    Location
    St. Louis, MO
    Posts
    484
    Make sure neither the header nor implementation files are read only.

  5. #5
    Join Date
    Apr 2009
    Posts
    1

    Re: Cannot add new member!

    You have to add a new class before being able to add a new member. Use any name for the new class; VS will create the *.cpp and the *.h files. You will then be able to add in new member.
    Hope this helps.

    Vo Duc Dien

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center