How can I use the images within shell32.dll in my C# project?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
This thread on the MSDN developer forums offers a solution:
You don't state which version of Visual Studio you have installed but you'll need to replace the "200X" with your version number.
See this code. It will be help
Some of them are available in
%Program Files%\Microsoft Visual Studio 10.0\Common7\VS2010ImageLibrary
- for others, you'd need to speak to Microsoft's lawyers about licensing them for redistribution in your applicationYou can extract icons from a DLL with this code:
Of course you need to know the index of the image in the DLL...