Default icons for Windows applications? - windows

Does Visual Studio or MSDN provides a default set of icons for desktop applications, i.e. icons for common actions, GUI elements, data types, etc?
For instance, I have a button that the user clicks on to select a file, it would be nice if I could use Windows' standard folder icon.

For Visual Studio 2012 and 2013:
The icons are not in the program folder any more.
You can download the Visual Studio Image Library which contains most of the icons at http://www.microsoft.com/en-us/download/details.aspx?id=35825
It contains many icons from Visual Studio, Office,...

You should be able to find the icons in a zip file named "VS2008ImageLibrary.zip" located here:
%Program Files%\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033

check out http://www.famfamfam.com/lab/icons/ very nice and exhaustive icon sets. as far as I can tell they are free.

There is an image library packaged with Visual Studio. Do a search for icon files in the Visual Studio install directory to reveal its location. It may or may not be there, or will be in different locations, depending on the version of VS you have installed.
If memory serves the Express editions come without this feature, but all other versions since at least Visual Studio .NET do.

Related

.VSIX File Glitch on VS Mac?

I use Visual Studio 2021 for Mac, and whenever I try to install a .vsix file(cause all color themes use them for some reason) it doesn't install and instead does this. Any solutions? Thanks!
I don't have a Mac, so this might be a partial answer.
It doesn't look like Visual Studio for Mac currently supports .vsix files, and thus doesn't support any extension shipped with that format. According to a Visual Studio issue from 2017, it instead supports .mpack files. The instructions on developing extensions for Visual Studio (for Windows) has a note with a link labelled "Extending Visual Studio for Mac" but it redirects to a page detailing the more limited built-in ways for a user to customize their IDE.
That being said, I'm pretty sure Visual Studio for Mac is based on MonoDevelop, which has add-ins. Maybe Visual Studio for Mac does as well.

What do I need to do to program an MFC/STL program in Visual Studio?

I've installed Visual Studio on my private PC, the version is "Microsoft Visual Studio Community 2019", version 16.1.6.
In order to prepare a job interview, I'd like to do some basic MFC/AFX programming, starting by the basic CMapStringToString example from the Microsoft website.
This, however, seems not to work, as I don't have access to the mentioned file afxcoll.h. Indeed: there is no file, called afx*.h on my PC.
Is this a limitation of my free downloaded Visual Studio installation, or is there any add-in, add-on, extension or whatever I can install in order to work with CMapStringToString objects?
Thanks in advance
You need to explicitly install MFC support in Visual Studio - which you can do on Community editions:
Open Visual Studio Installer from your Start Menu
Click the Modify button
Select the Individual Components tab
Scroll down to SDKs, Libraries and frameworks
Check the various MFC/ATL options for various platforms

Working with system icons in C# application

Where can I find all system icons used in Windows XP/Vista/7? Is it possible?
I tried using SHGetStockIconInfo(), but it returns only some icons.
For Windows 7 you can find many of the icons here:
%SystemRoot%\system32\DDORes.dll
%SystemRoot%\system32\imageres.dll
%SystemRoot%\system32\shell32.dll
I wouldn't recommend extracting them and using them though as that would be a copyright violation I think.
You can get a whole bunch of windows images within Visual Studio as explained here:
http://msdn.microsoft.com/en-us/library/ms246582.aspx
The Visual Studio 2010 Image Library contains application images that
appear in Microsoft Windows, the Office system, Microsoft Visual
Studio, and other Microsoft software. You can use this set of over
1,000 images to create applications that look visually consistent with
Microsoft software.
EDIT:
Requested Visual Studio 2008 version:
http://msdn.microsoft.com/en-us/library/ms246582(v=vs.90).aspx
And for completeness the Visual Studio 2005 version:
http://msdn.microsoft.com/en-us/library/ms246582(v=vs.80).aspx
Without specifying exactly which icons you're talking about, there is a SystemIcons class in the System.Drawing namespace.

Visual studio 2010 solution explorer settings

I got a fairly large (C++) project in Visual studio 2010. Somehow I managed to click "Show all files" in the solution explorer and now a bug in visual studio 2010 is preventing me from uncheck the option.
http://connect.microsoft.com/VisualStudio/feedback/details/614417/visual-studio-crashes-when-switching-solution-explorers-view
Do anyone here know where the this setting is stored? I've searched the solution file, project files, filter files without finding anything.
For C#, similar user-specific data is stored in SolutionName.suo (hidden) and ProjectName.csproj.user files. See if you have what might be the equivalent files for C++. You can freely delete these files to reset user-specific settings, which should restore solution explorer to its default view.
In addition to those programming in C++, for VS 2010 C++ these files are:
ProjectName.suo
ProjectName.vcxproj.user

Edit embedded resource (Visual Studio)

This should be simple, but Visual Studio stubbornly refuses to cooperate: I have a C# project (Visual Studio 2005) with bitmaps as embedded resources, BUT I CAN'T GET AT THEM!
I've been struggling with the GUI and MSDN "help", and can't get to the embedded bitmaps to edit them. How is this done?
Solved it: Visual Studio has MULTIPLE .resx files! I stumbled upon the one that had the bitmaps I needed to edit. (Used to the old days, when all the resources were in one .RC file.)

Resources