CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Posts
    18

    Error in form design

    Hello ,,
    I opened my project but the had error in form design
    the picture for this error has been attached.
    What cause this error and how to solve/debug this error?
    plz help me ..

  2. #2
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Error in form design

    there's no attachment.

  3. #3
    Join Date
    Jun 2009
    Posts
    18

    Re: Error in form design

    Hello ,,
    I opened my project but the had error in form design
    the picture for this error has been attached.
    What cause this error and how to solve/debug this error?
    plz help me ..
    Attached Images Attached Images

  4. #4
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Error in form design

    Well, the error message makes it extremely obvious. You have added classes in your Form class file before the Form class itself. For a class to be used in the designer it must be the first class defined in the file.

  5. #5
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Error in form design

    as BigEd781 states, the error message gives you the cause of the error and the solution to make the error go away.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured