I'm having a problem with visual studio 2010 in that I have a MFC project I've made which includes a dialog box. However when I go to the resource view, I can see the .rc file (I can't see the .rc2 file, which is listed in the solution explorer) but when I click on it, it doesn't open into the expected ICON, DIALOG, MENU etc.
The project runs and compiles fine, but I just don't get why I can't get to the dialog to edit it.
Thanks
James
Related
I can't open View Design in VS 2017, it's just missing.
It doesn't show any desinger in the open methods.
Neither in the other pop-up window..
If your project is MFC project, it has a '.rc' file. Double click this file will lead you to dialog or view designer. Other wise these is NO any view design. The second picture you mentioned can only navigate you to '.cpp' file of an '.h' file.
As a starting developer I am running into some problemes with Visual Studio 2017. I developed some weeks without any problems, but now I can't add a project under source control.
If I add a blank solution I used to be able to add a new project to that solution, but that option isn't visible anymore. It happend when I added a project under source control. How can I undo this?
missing menu (picture from a manual made earlier)
Solution: File --> Open --> Open from source control --> select the right project.
Now new projects can be added to the solution. Save this solution and you can open it when VS starts.
Not sure, but see if this works. This was in visual studio 2013, but is the same problem.
Click here!
I've ported my project from vs 2012 to vs 2015.
The Library i'm consuming is also built from vs 2015.
I build my project using makefile and getting this error
LNK1104 cannot open file 'legacy_stdio_definitions.lib'
if i build the same in vs 2012 , it works fine.
What this error is all about?
Try opening the project in Visual Studio, then click Project at the top menu bar. Click "Properties", "Linker", and then "Input". In "Additional Dependencies", click the down arrow beside and click "Edit". Add "legacy_stdio_definitions.lib" and click "OK", then "OK".
I made a resource file from scratch - I renamed an empty .txt file to .rc and then opened it in Visual Studio. Then I added a ribbon, a dialog, etc. to it. Then I saved and quit. When I reopened the file again, Visual Studio complained:
error RC2144 : PRIMARY LANGUAGE ID not a number
... which was fixed by adding #include <windows.h> in the resource.rc file.
But when I opened the file again, I got this:
MFC Ribbon Error RT_RIBBON_XML
Visual Studio seems to import the ribbon as an "RT_RIBBON_XML" type, not as a "Ribbon" like usual. As you can see, it says that there's an "external file" - and yes, the ribbon XML itself is in a seperate file in the same directory. But I can't open the ribbon in the designer anymore, it just shows the XML instead of the Ribbon designer. How can I tell Visual Studio that this XML is indeed a ribbon?
I have tried importing the ribbon via "Add resource > Import", but I can't import it as a "Ribbon" type, but Visual Studio says it's not allowed to open an external type as a built-in type.
I've tried making a new ribbon, then opening the data and copy-pasting from my old ribbon into the new ribbon. The ribbon gets saved correctly, but Visual Studio doesn't open the file anymore, meaning: When I open the file in a text editor, I can see all my attributes, but when opening it in the designer, it's simply an empty ribbon. How can I load my original ribbon?
I wanted to clear a confusion here.
I changed the application icon for the .exe file using the solution here. When I locate the .exe file in explorer I do see the change in the icon.
However, when I run it on debug mode from Visual Studio 2010, the changed icon does not show up - it shows the generic white box.
So I was just wondering if this is an expected behavior or not? My application will still have the new icon when I generate the .exe file in release build right?
As Hans Passant said in the comment:
It is expected. Google "reset shell icon cache"