Microsoft DirectX 8.1 (Visual Basic)

Tutorial 1: Creating a Device

To use Microsoft® Direct3D® in Microsoft Visual Basic®, you first create a form for your application window, then create and initialize Direct3D objects. You use these objects through their defined methods, which are also used to create other objects required to render a scene. The CreateDevice sample project upon which this tutorial is based illustrates these tasks by creating a Direct3D device and rendering a blue screen. This tutorial uses the following steps to create a form, set up Direct3D, render a scene, and eventually shut down.

Note  The path of the CreateDevice sample project is:

    (SDK root)\Samples\Multimedia\VBSamples\Direct3D\Tutorials\Tut01_CreateDevice.