Visual Basic Screen Saver

Category:
Screen/Graphics
Type:
Snippets
Difficulty:
Intermediate
Author:
Yannick Houbrix

Version Compatibility: Visual Basic 6

More information:
Creating a screen saver in Visual Basic is very simple. You create one form and set the following properties:


Caption ""
ControlBox False
MinButton False
MaxButton False
BorderStyle 0 - None
WindowState 2 - Maximized
BackColor &H0

You then compile it to an .exe, change the extension to .scr and copy the file to the windows directory.

This package does all of this; in addition, it includes a settings dialog so you can configure the screen saver's look and feel before compiling. A sample .scr file is included in the package, but you can work with this code to make any type of screen saver you would like.


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