Randomly Select the Desktop Wallpaper

Category:
Screen/Graphics
Type:
Applications
Difficulty:
Intermediate
Author:
redbird77

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This application demonstrates how to gather and utilize command line arguments and how to set the desktop wallpaper via API calls.

It also shows how to search a directory for files of a specfied type.

To see how it works, add the name of a directory (e.g., C:\Windows) that contains bitmaps as a command line argument.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download randomwallpaper.zip