Tuesday, August 4, 2015

Show Desktop VB.net


Hi welcome for more one tutorial. This time I will teach you how you can show Desktop using VB.Net. Using other words minimize all windows.

1- Create a new Visual Basic project.
2- Add a button to the form
3- Double-click in button and then paste this code:

CreateObject("Shell.Application").MinimizeAll

4- Now let´s test it. Debug (F5) the project. Click in the button and all windows will minimize and the desktop will be showed.


No comments:

Post a Comment