Microsoft DirectX 8.1 (Visual Basic)

Installing DirectX for Visual Basic Applications

Although you can use the Microsoft® DirectSetup functions in your Microsoft® Visual Basic® application by declaring references to the functions in your module, the recommended method is to use the Distribution Wizard. To distribute your application through a compact disc, follow these steps.

Distributing your Visual Basic application

  1. Start the Distribution Wizard.
  2. Remove DX8VB.dll from the dependency list.
  3. Add all the DirectX 8 redistributable files. They are located in the \DXF\Redist\DirectX8 folder on the Microsoft® DirectX® 8 SDK CD.
  4. Click Finish to exit the Distribution Wizard.
  5. Overwrite the Setup1.exe file created by the Distribution Wizard with Setup1.exe from the \DXF\Samples\Multimedia\VBSamples\Misc\bin folder on the DirectX 8 SDK CD.
  6. If you are using Visual Basic 5.0, use the compress utility to compress Setup1.exe to Setup1.ex_. If you are developing on Visual Basic 6.0, run the batch file created by the Distribution Wizard.

The files are now ready to be distributed through a compact disc.