Slide Show Screen Saver

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

Version Compatibility: Visual Basic 6

More information:
This code makes it easy for any user to create their own slide show screen saver. It's as simple as putting all your favorite graphics in a directory and pointing the program to it! The program keeps the path in the registry and brings up the same graphics directory each time it begins.

I included the .scr file in the Zip. Just put it in your windows directory and set it as your screen saver in the desktop properties.

You will be prompted to input the directory to view graphics.

When the screen saver starts it will display all the graphics in that Directory one at a time repeating continually until interrupted by the movement of the mouse. If you wish to change the viewing directory press the space bar while the screen saver is on then, when promped, change to the new directory.

There are a lot of good formulas and techniques included. The program uses 1 form, drive listbox, directory list box, File listbox, textbox, frame and timer. I use the listboxes to get the graphics path, then load the graphic into a picture object. I use the Getsettings and SetSettings function to write and retreive the path info to the registry. I use the picture object properties of height and width along with the forms scaleX/scaleY and screen object properties to proportionally paintpicture the graphics to the form. With a little customization you can create your own slide. presentation program. Then just create your graphics in a directory point and....


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 scrnsavr2.zip