Getting an error trying to display a new windows form.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Getting an error trying to display a new windows form.

  1. #1
    Join Date
    Nov 2009
    Posts
    29

    Getting an error trying to display a new windows form.

    I had an old project i started working on again. Last time i worked on it was when i had C# Express 2010, no i have 2012 and I when to add a new windows form the same way I normally do but now I am getting an error. I think something changed in 2012, I am not sure what I need to do to fix it. all the old windows forms still work normally.
    http://i542.photobucket.com/albums/g...ps7e69449d.png
    Error: "'ARCode' could not be found (are you missing a using directive or an assembly reference?)"

  2. #2
    Join Date
    Feb 2011
    Location
    DeLand, FL
    Posts
    40

    Re: Getting an error trying to display a new windows form.

    The object ARCode is not a form object in your project or the library it was stored in is no longer referenced. If you don't know what resource it came from it might be a good idea to return to the VS2010 version of the project and investigate where the reference came from. If it's a project that you imported from VS2010 to VS2012 it's most likely a missing DLL reference.

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,100

    Re: Getting an error trying to display a new windows form.

    Might also be that with VS 2010 you were working on a different Windows Version than what you have now with VS 2012

  4. #4
    Join Date
    Nov 2009
    Posts
    29

    Re: Getting an error trying to display a new windows form.

    It says the file was created by a newer version and can not be opened.

    also if i make a new project i can add forms and show them normally. what could be different?
    Last edited by KazoWAR; January 9th, 2013 at 04:21 AM.

  5. #5
    Join Date
    Nov 2009
    Posts
    29

    Re: Getting an error trying to display a new windows form.

    problem fixed, it was the namespace.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center