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
  1. Home
  2. General Programming
  3. Visual Basic
  4. small arrow at my form

small arrow at my form

Scheduled Pinned Locked Moved Visual Basic
helpquestion
7 Posts 2 Posters 0 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.
  • A Offline
    A Offline
    asha_s
    wrote on last edited by
    #1

    hi :) :) can you help me i have in one of my forms small Arrow in the solution explorer and when i move my project to other computer it can not open the designed and it give error massage that it not found how can i remove it please help

    D 1 Reply Last reply
    0
    • A asha_s

      hi :) :) can you help me i have in one of my forms small Arrow in the solution explorer and when i move my project to other computer it can not open the designed and it give error massage that it not found how can i remove it please help

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The little triangle with an exclamation point (not an arrow), that the file is listed in the project, but it's not found on the disk where it is expected to be. All you have to do is remove the file from the project and re-add it, if you can find it, or copy the file to where the project expects it to be. There may be missing files that you don't know about either. For instance, under 2005, a normal Windows Form has, usually, three files associated with it, A formName.Designer.vb file, formName.resx, and formName.vb. If any of these files are missing, you'll get the little yellow triangle.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        The little triangle with an exclamation point (not an arrow), that the file is listed in the project, but it's not found on the disk where it is expected to be. All you have to do is remove the file from the project and re-add it, if you can find it, or copy the file to where the project expects it to be. There may be missing files that you don't know about either. For instance, under 2005, a normal Windows Form has, usually, three files associated with it, A formName.Designer.vb file, formName.resx, and formName.vb. If any of these files are missing, you'll get the little yellow triangle.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        A Offline
        A Offline
        asha_s
        wrote on last edited by
        #3

        i do it but it steal exist and all the three file are exist in the project folder

        D 1 Reply Last reply
        0
        • A asha_s

          i do it but it steal exist and all the three file are exist in the project folder

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You're missing a file somewhere. At the top of the solution explorer window, there is a button, I think it's the second form the left, that says "Show All Files" when you have the mouse over it. Click on that button and you should be able to see exactly which files are missing. Now, you have to check to see where the files are. You may have them, but they are probably not in the correct folder. If you open the folder that .SLN file is in, you should see something like this:

          ProjectName
          |
          +--ProjectName.sln
          +--ProjectName.suo
          +--ProjectName (folder)
          |
          +--ProjectName.vbproj
          +--ProjectName.vbproj.user
          +--Form1.Designer.vb
          +--Form1.resx
          +--Form1.vb
          +--bin (folder)
          +--My Project (folder)
          +--obj (folder)

          If, for instance, you have the project files in the wrong folder, or not in a subfolder like this, but the solution file expects it, you'll get this problem.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          A 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You're missing a file somewhere. At the top of the solution explorer window, there is a button, I think it's the second form the left, that says "Show All Files" when you have the mouse over it. Click on that button and you should be able to see exactly which files are missing. Now, you have to check to see where the files are. You may have them, but they are probably not in the correct folder. If you open the folder that .SLN file is in, you should see something like this:

            ProjectName
            |
            +--ProjectName.sln
            +--ProjectName.suo
            +--ProjectName (folder)
            |
            +--ProjectName.vbproj
            +--ProjectName.vbproj.user
            +--Form1.Designer.vb
            +--Form1.resx
            +--Form1.vb
            +--bin (folder)
            +--My Project (folder)
            +--obj (folder)

            If, for instance, you have the project files in the wrong folder, or not in a subfolder like this, but the solution file expects it, you'll get this problem.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            A Offline
            A Offline
            asha_s
            wrote on last edited by
            #5

            thanks but i found all the files with an exclamation point is their a way to know the path of the folder becase i copy it befor this time and but it in my disk top after that the exclamation point aper but i am sure that all the files in the right folder

            D 1 Reply Last reply
            0
            • A asha_s

              thanks but i found all the files with an exclamation point is their a way to know the path of the folder becase i copy it befor this time and but it in my disk top after that the exclamation point aper but i am sure that all the files in the right folder

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              asha_s wrote:

              but i am sure that all the files in the right folder

              The solution explorer is telling you otherwise. I've already given you the folder structure of a normal VS2005 solution. If the structure doesn't match up, you've got the files int the wrong places, or you've renamed folders when you shouldn't have. The folder names are very specific and buried in the .SLN and .VBPROJ files. The paths listed in the .SLN file are relative to the folder that contains the .SLN file. Likewise, all the paths listed in the .VBPROJ file are relative to the folder that contains the .VBPROJ file. You have a few choices at this point. Create a blank Windows Forms project and save it, examining the .SLN and .VBPROJ files for how the path names look, comparing them to the folder structure you see on disk. Then, compare what you've seen to what you see in your projects .SLN and .VBPROJ files. Use the existing project and remove all the files from the solution in the solution explorer, then re-add each of your code files on disk back into the solution explorer. Scrap this entire folder and re-copy the entire solution folder from the original source.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008

              A 1 Reply Last reply
              0
              • D Dave Kreskowiak

                asha_s wrote:

                but i am sure that all the files in the right folder

                The solution explorer is telling you otherwise. I've already given you the folder structure of a normal VS2005 solution. If the structure doesn't match up, you've got the files int the wrong places, or you've renamed folders when you shouldn't have. The folder names are very specific and buried in the .SLN and .VBPROJ files. The paths listed in the .SLN file are relative to the folder that contains the .SLN file. Likewise, all the paths listed in the .VBPROJ file are relative to the folder that contains the .VBPROJ file. You have a few choices at this point. Create a blank Windows Forms project and save it, examining the .SLN and .VBPROJ files for how the path names look, comparing them to the folder structure you see on disk. Then, compare what you've seen to what you see in your projects .SLN and .VBPROJ files. Use the existing project and remove all the files from the solution in the solution explorer, then re-add each of your code files on disk back into the solution explorer. Scrap this entire folder and re-copy the entire solution folder from the original source.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                A Offline
                A Offline
                asha_s
                wrote on last edited by
                #7

                thanks it work :laugh: :laugh:

                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