What should I include within a C# application in order to make Shell32 work?
Edit:
My application can\'t recognize shell32. What references
Referencing the actual shell32.dll is deprecated. You will get errors in .NET Framework 4+. Using an older .NET Framework just to use the shell32.dll limits your program's capabilities. In applications for windows 7+ and .NET Framework 4+ you should always use the .COM component instead. Right click project. Click Add reference. Click .COM tab in Add reference dialogue. Select Microso.ft Shell Controls and Automation. Click OK
I'm guessing that you're having trouble getting any calls recognized, so I'd refer you to this general article: http://www.codeproject.com/KB/shell/csdoesshell1.aspx
Beyond that, you'll need to provide specifics of what isn't working for you.
Just add a reference to Shell32.dll
from the Windows\System32
folder and use it:
Shell32.Shell shell = new Shell32.Shell();
shell.MinimizeAll();