small arrow at my form
-
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
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 -
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 -
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 -
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 -
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
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 -
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