Locked Resources - error

  • Sunday, June 21, 2009 4:46 PM
     
     

                    I deleted the images from the resources and now appears to me the error , although all works OK:

    Error      1             The item "obj\Debug\WindowsApplication1.Resources.resources" was specified more than once in the "Resources" parameter.  Duplicate items are not supported by the "Resources" parameter.   

     

     What should I do to resolve this?

    Thanks. Onenew

All Replies

  • Sunday, June 21, 2009 5:46 PM
     
     
    Also, when I try to change the picture in any picturebox , then appeare messagebox with:
    "Choose image" Details: An item with the same key has already been added.

    and I can not to do it.
     Onenew
  • Sunday, June 21, 2009 6:02 PM
     
     
    One at a time. It means you have named or identified the name more than once. For the second, we'll need to see the code,
    Renee
  • Sunday, June 21, 2009 6:03 PM
     
     Answered
    It is always tough with errors like that . For some reason VBE does not do well when things get deleted . You can try several things . You can try and edit the project files manually with a text editor to remove any former references to deleted items . You can start a new project and copy over the items and code from the old project . If you can locate the error in the project files and correct it that would be good if your going to try that maybe copy the project folder to another location first in case you make it worse, you can copy it back again if needed .
    Coding for fun Be a good forum member mark posts that contain the answers to your questions or those that are helpful
    • Marked As Answer by Onenew Monday, June 22, 2009 5:25 AM
    •  
  • Monday, June 22, 2009 5:25 AM
     
     

    Thanks bdbodger for instructions. Error was in one of next folders:

     - Name of project, vbroj or
     - Name of project, vbrojuser.
        
      Onenew