Imitate Show Desktop With VB
Version Compatibility: Visual Basic 6
This project gives an example of programmatically showing the desktop, or minimizing all windows. The same feature as the Show Desktop button in the Windows XP Quick Launch toolbar. It accomplishes this by creating and setting up a command file for Windows Explorer and executing it. You can email the author at email@example.com.
Instructions: Copy the declarations and code below and paste directly into your VB project.