Creating a Screen Saver with DirectX 8 and VB, Part 1: Setup
Since the early days of Visual Basic, many of us have wanted to create screen savers. However, due to the limitations of the Windows graphics libraries, we have been limited in what we can produce. Now that DirectX has become an integral part of Windows, and VB is supported in almost all functions of DirectX, we can bring these screen savers to the next level. This article shows you how to use DirectX 8 and Visual Basic to create a screen saver (see Figure 1). In the process, you'll learn how screen savers work and how to do an animation loop in DirectX 8.
Figure 1 The Snowman screen saver.
You must have:
Visual Basic 6
The DirectX 8 (or 8.1) SDK
A recent video card
Source code can be found here.