Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS.NET screwing up resources

VS.NET screwing up resources

Scheduled Pinned Locked Moved Visual Studio
helpc++csharpvisual-studiomcp
3 Posts 2 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dennisV
    wrote on last edited by
    #1

    Hello all, I have this problem - I was working on my project in VS.NET using VC++ (MFC). It was all going fine, but one day something happened during development of a resource (dialog) and when I tried to use "Add Variable" (as I did a thousand times before) it gave me an Unhandled Exception and closed down. It has been doing so eversince. I've checked the resource.h file and it was all screwed up, so I manually fixed (so that all resource numbers are ok and do not duplicate each other, as VS wrote them). It didn't help. I'm pretty much stuck here until this is solved, so if anyone knows why this is happening or at least some directions in which I could start digging I would really appreciate that help. BTW - if I open up any of my previous projects, they work fine, and I can add variables and stuff. Thank you in advance. MCP, MCSD

    W 1 Reply Last reply
    0
    • D dennisV

      Hello all, I have this problem - I was working on my project in VS.NET using VC++ (MFC). It was all going fine, but one day something happened during development of a resource (dialog) and when I tried to use "Add Variable" (as I did a thousand times before) it gave me an Unhandled Exception and closed down. It has been doing so eversince. I've checked the resource.h file and it was all screwed up, so I manually fixed (so that all resource numbers are ok and do not duplicate each other, as VS wrote them). It didn't help. I'm pretty much stuck here until this is solved, so if anyone knows why this is happening or at least some directions in which I could start digging I would really appreciate that help. BTW - if I open up any of my previous projects, they work fine, and I can add variables and stuff. Thank you in advance. MCP, MCSD

      W Offline
      W Offline
      Wava
      wrote on last edited by
      #2

      I have had the same problem, but on an almost continual basis. Every project I have started has as some point lost classes and the ability to add variables and event handlers. After looking through MS knowledge base I found and article about the classes disappearing. The resource is there, but the class is gone and hence, your ability to do anything with that resource. If you end VS and then find the .ncb (class view database) for the project that messed up and delete it, then everything will go back to normal. You can also find this information in MS knowledge base by scanning on .ncb. There is some register entry stuff in there, but my registry is fine. Just the stupid .ncb file keeps getting corrupted. The ideas I express here are not necessarily my own.

      D 1 Reply Last reply
      0
      • W Wava

        I have had the same problem, but on an almost continual basis. Every project I have started has as some point lost classes and the ability to add variables and event handlers. After looking through MS knowledge base I found and article about the classes disappearing. The resource is there, but the class is gone and hence, your ability to do anything with that resource. If you end VS and then find the .ncb (class view database) for the project that messed up and delete it, then everything will go back to normal. You can also find this information in MS knowledge base by scanning on .ncb. There is some register entry stuff in there, but my registry is fine. Just the stupid .ncb file keeps getting corrupted. The ideas I express here are not necessarily my own.

        D Offline
        D Offline
        dennisV
        wrote on last edited by
        #3

        Thank you for the answer... I will check it out. I was actually just adding everything by hand in those resources that do not work and using the wizard in those that did. I hope it'll be resolved. :cool: MCP, MCSD

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups